windows build building again. most of the functions filled in for windows. more to come!

git-svn-id: http://svn.openzap.org/svn/openzap/trunk@37 a93c3328-9c30-0410-af19-c9cd2b2d52af
This commit is contained in:
Michael Jerris committed 2007-05-19 05:05:29 +00:00
1 parent 9fd18e7e1a
commit ed59987e25
4 files changed
+98 -15

No files matched your search

+3
View File
@@ -61,6 +61,9 @@
#ifndef strcasecmp
#define strcasecmp(s1, s2) _stricmp(s1, s2)
#endif
#ifndef strncasecmp
#define strncasecmp(s1, s2, n) _strnicmp(s1, s2, n)
#endif
#ifndef snprintf
#define snprintf _snprintf
#endif
+1
View File
@@ -37,6 +37,7 @@
#ifdef WIN32
#include <windows.h>
typedef HANDLE zap_socket_t;
typedef unsigned __int32 uint32_t;
#else
#include <stdint.h>
typedef int zap_socket_t;