mirror of
https://github.com/mii443/libdatachannel.git
synced 2025-08-22 23:25:33 +00:00
Reorganized defines and added mtu option to C API
This commit is contained in:
@ -19,14 +19,14 @@
|
||||
#ifndef RTC_COMMON_H
|
||||
#define RTC_COMMON_H
|
||||
|
||||
#ifndef RTC_ENABLE_MEDIA
|
||||
#define RTC_ENABLE_MEDIA 1
|
||||
#endif
|
||||
|
||||
#ifndef RTC_ENABLE_WEBSOCKET
|
||||
#define RTC_ENABLE_WEBSOCKET 1
|
||||
#endif
|
||||
|
||||
#ifndef RTC_ENABLE_MEDIA
|
||||
#define RTC_ENABLE_MEDIA 1
|
||||
#endif
|
||||
|
||||
#ifdef _WIN32
|
||||
#define RTC_CPP_EXPORT __declspec(dllexport)
|
||||
#ifndef _WIN32_WINNT
|
||||
@ -39,6 +39,8 @@
|
||||
#define RTC_CPP_EXPORT
|
||||
#endif
|
||||
|
||||
#include "rtc.h" // for C API defines
|
||||
|
||||
#include "log.hpp"
|
||||
#include "utils.hpp"
|
||||
|
||||
|
Reference in New Issue
Block a user