projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d967af4
)
Winsock compatibility requirements added.
author
Pekka Riikonen
<priikone@silcnet.org>
Tue, 17 Dec 2002 10:21:37 +0000
(10:21 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Tue, 17 Dec 2002 10:21:37 +0000
(10:21 +0000)
includes/silcwin32.h
patch
|
blob
|
history
diff --git
a/includes/silcwin32.h
b/includes/silcwin32.h
index 26486bc31c863d802f9e8bde857802ef4147b46a..e670a75f96950223a118987606e93e7d1abab982 100644
(file)
--- a/
includes/silcwin32.h
+++ b/
includes/silcwin32.h
@@
-42,6
+42,20
@@
#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