00001 #ifndef __WIN32_SANITIZE_H
00002 #define __WIN32_SANITIZE_H
00003
00004 #ifdef __GNUC__
00005 #include "wvautoconf.h"
00006 #endif
00007
00008 #include <basetyps.h>
00009 #include <objbase.h>
00010 #include <signal.h>
00011 #include <winsock.h>
00012 #include <malloc.h>
00013
00014 #ifndef _SYS_GUID_OPERATOR_EQ_
00015 #define _SYS_GUID_OPERATOR_EQ_ 1
00016 #endif
00017
00018 #ifndef SIGALRM
00019 #define SIGALRM 14
00020 #endif
00021
00022 #ifndef SIGPIPE
00023 #define SIGPIPE 13
00024 #endif
00025
00026 #ifndef ECONNREFUSED
00027 #define ECONNREFUSED WSAECONNREFUSED
00028 #endif
00029
00030 #ifndef EWOULDBLOCK
00031 #define EWOULDBLOCK WSAEWOULDBLOCK
00032 #endif
00033
00034
00035 typedef int socklen_t;
00036
00037
00038
00039 static inline unsigned int alarm(unsigned int t) { return 0; }
00040
00041
00042
00043 #ifdef __cplusplus
00044 extern void *_wvinitialize;
00045 static void *_wvinitialize_local = _wvinitialize;
00046 #endif
00047
00048
00049
00050 #endif // __WIN32_SANITIZE_H