Commit 7612f40d authored by Ghislain MARY's avatar Ghislain MARY

Prevent macro redefinitions.

parent 1f1acfbd
......@@ -249,8 +249,12 @@ const char * ortp_strerror(DWORD value);
#endif
ORTP_PUBLIC const char *getWinSocketError(int error);
#ifndef getSocketErrorCode
#define getSocketErrorCode() WSAGetLastError()
#endif
#ifndef getSocketError
#define getSocketError() getWinSocketError(WSAGetLastError())
#endif
#define snprintf _snprintf
#define strcasecmp _stricmp
......
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