fix windows compilation

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1066 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Moises Silva committed 2010-03-16 14:12:42 +00:00
1 parent 1caf72ed86
commit d875a8ae78
4 files changed
+28 -14

No files matched your search

+4
View File
@@ -35,7 +35,11 @@
#define ZAP_TYPES_H
#include "fsk.h"
#ifdef WIN32
#define ZAP_INVALID_SOCKET INVALID_HANDLE_VALUE
#else
#define ZAP_INVALID_SOCKET -1
#endif
#define zap_array_len(obj) sizeof(obj)/sizeof(obj[0])
#ifdef WIN32