C:/fscan/HTTPCore/Build.h

Go to the documentation of this file.
00001 
00002 #ifndef __BUILD_H_
00003 #define __BUILD_H_
00004 
00005 /****************** GLOBAL FLAGS **********************/
00006 
00007 #ifndef LINUX
00008 
00009 #ifndef __WIN32__RELEASE__
00010 #define __WIN32__RELEASE__
00011 #endif
00012 
00013 # if defined(_MSC_VER)
00014 # ifndef _CRT_SECURE_NO_DEPRECATE
00015 # define _CRT_SECURE_NO_DEPRECATE (1)
00016 # endif
00017 # pragma warning(disable : 4996)
00018 # endif
00019 
00020 #define snprintf _snprintf
00021 #define stricmp  _stricmp
00022 #define strnicmp _strnicmp
00023 /*
00024 #ifdef  _strnicmp
00025 #define strnicmp _strnicmp
00026 #endif
00027 
00028 
00029 
00030 #ifndef _strdup
00031 #define _strdup strdup
00032 #endif
00033 */
00034 #else
00035 #include <unistd.h>
00036 #include <fcntl.h>
00037 #include <sys/socket.h>
00038 #include <sys/ioctl.h>
00039 #include <netdb.h>
00040 #include <netinet/in.h>
00041 #include <arpa/inet.h>
00042 #include <pthread.h>  //pthread
00043 #include <ctype.h> //toupper
00044 #include <time.h>
00045 #include <sys/timeb.h>
00046 #include <sys/time.h> //gettimeofday
00047 #include <sys/mman.h>  //mmap
00048 //#include <linux/types.h> //__int64
00049 typedef int64_t __int64;
00050 typedef uint64_t __uint64;
00051 #define MAXIMUM_WAIT_OBJECTS 64
00052 #define MAX_PATH 256
00053 #define _strdup strdup
00054 #define BOOL int
00055 #define closesocket close
00056 #define strnicmp strncasecmp
00057 #define  stricmp strcasecmp
00058 #define ioctlsocket ioctl
00059 #define Sleep usleep
00060 #define CRITICAL_SECTION pthread_mutex_t
00061 #endif
00062 /****************** GLOBAL FLAGS **********************/
00063 
00064 #endif
00065 
00066 

Generated on Sun Jan 18 00:32:03 2009 for Fast HTTP Vulnerability Scanner by  doxygen 1.5.4