25 lines
617 B
Text
25 lines
617 B
Text
--- src/mms-common.h.orig Fri Oct 28 01:40:30 2011
|
|
+++ src/mms-common.h Fri Oct 28 01:41:45 2011
|
|
@@ -38,16 +38,17 @@
|
|
#ifndef EINPROGRESS
|
|
#define EINPROGRESS WSAEINPROGRESS
|
|
#endif
|
|
+#else
|
|
+#define set_errno(_err) errno = (_err)
|
|
+#define get_errno() errno
|
|
+#define closesocket(_s) close(_s)
|
|
+#endif
|
|
+
|
|
#ifndef AI_ADDRCONFIG
|
|
#define AI_ADDRCONFIG 0
|
|
#endif
|
|
#ifndef AI_NUMERICSERV
|
|
#define AI_NUMERICSERV 0
|
|
-#endif
|
|
-#else
|
|
-#define set_errno(_err) errno = (_err)
|
|
-#define get_errno() errno
|
|
-#define closesocket(_s) close(_s)
|
|
#endif
|
|
|
|
typedef struct mms_stream_s mms_stream_t;
|