Fix std max build errors on Windows

This commit is contained in:
Julien Wadel 2022-09-27 09:22:45 +02:00
parent 20b36fa32b
commit 15e0437f69
2 changed files with 2 additions and 1 deletions

View file

@ -123,6 +123,7 @@ endif()
if( WIN32)
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -D_WINSOCKAPI_")#remove error from windows headers order
add_definitions(-DNOMINMAX)
endif()
set(CMAKE_INCLUDE_CURRENT_DIR ON)#useful for config.h

View file

@ -39,7 +39,7 @@ public:
virtual void onRemoteRecording(const std::shared_ptr<linphone::Call> & call, bool recording) override;
signals:
virtual void remoteRecording(const std::shared_ptr<linphone::Call> & call, bool recording);
void remoteRecording(const std::shared_ptr<linphone::Call> & call, bool recording);
};
Q_DECLARE_METATYPE(CallListener*)