mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-11-15 13:58:32 +00:00
fix windows compilation
git-svn-id: http://svn.openzap.org/svn/openzap/trunk@1066 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
1 parent
1caf72ed86
commit
d875a8ae78
4 files changed
+28
-14
No files matched your search
@@ -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
|
||||
|
||||
Reference in new issue
Block a user