Commit 95c23d21 authored by Ghislain MARY's avatar Ghislain MARY

Use defines from bctoolbox instead of duplicate them in oRTP.

parent 2f6d58ca
......@@ -154,8 +154,6 @@ unsigned long __ortp_thread_self(void);
#define _WINSOCKAPI_
#endif
#define strtok_r strtok_s
typedef unsigned __int64 uint64_t;
typedef __int64 int64_t;
typedef unsigned short uint16_t;
......@@ -256,10 +254,6 @@ ORTP_PUBLIC const char *getWinSocketError(int error);
#define getSocketError() getWinSocketError(WSAGetLastError())
#endif
#define snprintf _snprintf
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#ifndef F_OK
#define F_OK 00 /* Visual Studio does not define F_OK */
#endif
......
......@@ -22,6 +22,7 @@
#include "utils.h"
#include "ortp/rtpsession.h"
#include "rtpsession_priv.h"
#include <bctoolbox/port.h>
static void rtp_session_schedule_outbound_network_simulator(RtpSession *session, ortpTimeSpec *sleep_until);
......
......@@ -18,6 +18,7 @@
*/
#include "ortp/ortp.h"
#include <bctoolbox/port.h>
int rtp_profile_get_payload_number_from_mime(RtpProfile *profile, const char *mime)
......
......@@ -21,6 +21,7 @@
#include "utils.h"
#include "rtpsession_priv.h"
#include <ortp/ortp.h>
#include <bctoolbox/port.h>
PayloadType payload_type_telephone_event={
PAYLOAD_AUDIO_PACKETIZED, /*type */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment