projects
/
silc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5838e24
)
SilcSocket == SOCKET on WIN32.
author
Pekka Riikonen
<priikone@silcnet.org>
Tue, 1 May 2007 11:23:03 +0000
(11:23 +0000)
committer
Pekka Riikonen
<priikone@silcnet.org>
Tue, 1 May 2007 11:23:03 +0000
(11:23 +0000)
lib/silcutil/silctypes.h
patch
|
blob
|
history
diff --git
a/lib/silcutil/silctypes.h
b/lib/silcutil/silctypes.h
index f1f8ddb15fde504c74e7a6e60fa02e95607fe49b..70bc30165b4a41c530fa8508a90788184c47dd71 100644
(file)
--- a/
lib/silcutil/silctypes.h
+++ b/
lib/silcutil/silctypes.h
@@
-271,8
+271,10
@@
typedef SilcUInt32 * void *;
*
* SOURCE
*/
-#if defined(SILC_UNIX)
|| defined(SILC_WIN32)
+#if defined(SILC_UNIX)
typedef int SilcSocket;
+#elif defined(SILC_WIN32)
+typedef SOCKET SilcSocket;
#elif defined(SILC_SYMBIAN)
typedef void * SilcSocket;
#endif