Commit 90dc6ac7 authored by Ghislain MARY's avatar Ghislain MARY

Export getWinSocketError symbol as C symbol.

parent d19b2938
......@@ -249,7 +249,11 @@ const char * ortp_strerror(DWORD value);
#endif
ORTP_PUBLIC const char *getWinSocketError(int error);
#ifdef __cplusplus
extern "C" {
#endif
ORTP_PUBLIC const char *getWinSocketError(int error);
#ifndef getSocketErrorCode
#define getSocketErrorCode() WSAGetLastError()
#endif
......@@ -262,13 +266,11 @@ ORTP_PUBLIC const char *getWinSocketError(int error);
#endif
#ifdef __cplusplus
extern "C"{
#endif
ORTP_PUBLIC int ortp_gettimeofday (struct timeval *tv, void* tz);
#ifdef _WORKAROUND_MINGW32_BUGS
char * WSAAPI gai_strerror(int errnum);
#endif
#ifdef __cplusplus
}
#endif
......
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