mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-09-03 23:59:31 +00:00
Disable MSVC warning 4251 in header rather than in CMakeLists
This commit is contained in:
@ -32,6 +32,9 @@
|
||||
#ifndef _WIN32_WINNT
|
||||
#define _WIN32_WINNT 0x0602 // Windows 8
|
||||
#endif
|
||||
#ifdef _MSC_VER
|
||||
#pragma warning(disable:4251) // disable "X needs to have dll-interface..."
|
||||
#endif
|
||||
#else
|
||||
#define RTC_CPP_EXPORT
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user