Merged from silc_1_0_branch.
[silc.git] / includes / silcwin32.h
index 26486bc31c863d802f9e8bde857802ef4147b46a..e670a75f96950223a118987606e93e7d1abab982 100644 (file)
 #endif
 #endif
 
+# Some winsock compatiblity requirements
+#ifndef _WIN32_WINNT
+#define _WIN32_WINNT 0x400
+#else
+#undef _WIN32_WINNT
+#define _WIN32_WINNT 0x400
+#endif /* _WIN32_WINNT */
+#if !defined(SO_SYNCHRONOUS_NONALERT)
+#define SO_SYNCHRONOUS_NONALERT 0x20
+#endif
+#if !defined(SO_OPENTYPE)
+#define SO_OPENTYPE 0x7008
+#endif
+
 #undef inline
 #define inline __inline