Start exporting c++ API for windows.

This commit is contained in:
Hanseul Jun
2020-11-17 22:20:54 -08:00
parent 90eb610bfe
commit 12098e7c41
8 changed files with 20 additions and 11 deletions

View File

@ -28,9 +28,12 @@
#endif
#ifdef _WIN32
#define RTC_CPP_EXPORT __declspec(dllexport)
#ifndef _WIN32_WINNT
#define _WIN32_WINNT 0x0602 // Windows 8
#endif
#else
#define RTC_CPP_EXPORT
#endif
#include "log.hpp"