00001
00002
00003
00004
00005 #ifndef __LIB_CONFIG_WIN32_H
00006 #define __LIB_CONFIG_WIN32_H
00007
00008 #define HAVE_ASSERT_H 1
00009
00010 #define HAVE_FCNTL_H 1
00011
00012 #define HAVE_IO_H 1
00013
00014 #ifndef __SALFORDC__
00015 #define NEED_MALLOC_H 1
00016 #endif
00017
00018 #ifndef __SALFORDC__
00019 #define HAVE_PROCESS_H 1
00020 #endif
00021
00022 #define HAVE_SIGNAL_H 1
00023
00024 #define HAVE_STDLIB_H 1
00025
00026 #define HAVE_SYS_STAT_H 1
00027
00028 #define HAVE_SYS_TYPES_H 1
00029
00030 #ifndef __BORLANDC__
00031 #define HAVE_SYS_UTIME_H 1
00032 #endif
00033
00034 #define HAVE_TIME_H 1
00035
00036 #if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__) || \
00037 defined(__POCC__)
00038 #define HAVE_UNISTD_H 1
00039 #endif
00040
00041 #define HAVE_WINDOWS_H 1
00042
00043 #define HAVE_WINSOCK_H 1
00044
00045 #ifndef __SALFORDC__
00046
00047 #define HAVE_WINSOCK2_H 1
00048
00049 #define HAVE_WS2TCPIP_H 1
00050 #endif
00051
00052 #define HAVE_SIG_ATOMIC_T 1
00053
00054 #define STDC_HEADERS 1
00055
00056 #define HAVE_CLOSESOCKET 1
00057
00058 #define HAVE_GETHOSTBYADDR 1
00059
00060 #define HAVE_GETHOSTNAME 1
00061
00062 #define HAVE_GETSERVBYNAME 1
00063
00064 #define HAVE_GETPROTOBYNAME
00065
00066 #define HAVE_INET_ADDR 1
00067
00068 #define HAVE_INET_NTOA 1
00069
00070 #define HAVE_IOCTLSOCKET 1
00071
00072 #define HAVE_PERROR 1
00073
00074 #define HAVE_RAND_SCREEN 1
00075
00076 #define HAVE_RAND_STATUS 1
00077
00078 #define HAVE_SELECT 1
00079
00080 #define HAVE_SETVBUF 1
00081
00082 #define HAVE_SOCKET 1
00083
00084 #define HAVE_STRICMP 1
00085
00086 #define HAVE_STRDUP 1
00087
00088 #define HAVE_STRFTIME 1
00089
00090 #define HAVE_STRSTR 1
00091
00092 #if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__POCC__)
00093 #define HAVE_STRTOLL 1
00094 #endif
00095
00096 #ifndef __BORLANDC__
00097 #define HAVE_UTIME 1
00098 #endif
00099
00100 #define HAVE_GETNAMEINFO 1
00101
00102 #define GETNAMEINFO_QUAL_ARG1 const
00103
00104 #define GETNAMEINFO_TYPE_ARG1 struct sockaddr *
00105
00106 #define GETNAMEINFO_TYPE_ARG2 socklen_t
00107
00108 #define GETNAMEINFO_TYPE_ARG46 DWORD
00109
00110 #define GETNAMEINFO_TYPE_ARG7 int
00111
00112 #define HAVE_RECV 1
00113
00114 #define RECV_TYPE_ARG1 SOCKET
00115
00116 #define RECV_TYPE_ARG2 char *
00117
00118 #define RECV_TYPE_ARG3 int
00119
00120 #define RECV_TYPE_ARG4 int
00121
00122 #define RECV_TYPE_RETV int
00123
00124 #define HAVE_SEND 1
00125
00126 #define SEND_TYPE_ARG1 SOCKET
00127
00128 #define SEND_QUAL_ARG2 const
00129
00130 #define SEND_TYPE_ARG2 char *
00131
00132 #define SEND_TYPE_ARG3 int
00133
00134 #define SEND_TYPE_ARG4 int
00135
00136 #define SEND_TYPE_RETV int
00137
00138 #define in_addr_t unsigned long
00139
00140 #define RETSIGTYPE void
00141
00142 #if (defined(__WATCOMC__) && (__WATCOMC__ >= 1240)) || defined(__POCC__)
00143 #elif defined(_WIN64)
00144 #define ssize_t __int64
00145 #else
00146 #define ssize_t int
00147 #endif
00148
00149 #ifndef HAVE_WS2TCPIP_H
00150 #define socklen_t int
00151 #endif
00152
00153 #define SIZEOF_LONG_DOUBLE 16
00154
00155 #ifdef SIZEOF_CURL_OFF_T
00156 #undef SIZEOF_CURL_OFF_T
00157 #endif
00158
00159 #if defined(__BORLANDC__) || defined(__POCC__) || defined(__SALFORDC__)
00160 #define SIZEOF_CURL_OFF_T 4
00161 #else
00162 #define SIZEOF_CURL_OFF_T 8
00163 #endif
00164
00165 #ifndef __SALFORDC__
00166 #define HAVE_STRUCT_SOCKADDR_STORAGE 1
00167 #endif
00168
00169 #define HAVE_STRUCT_TIMEVAL 1
00170
00171 #if defined(_MSC_VER) && (_MSC_VER >= 1400)
00172 #define HAVE_VARIADIC_MACROS_C99 1
00173 #endif
00174
00175 #define DL_LDAP_FILE "wldap32.dll"
00176
00177 #define _CRT_SECURE_NO_DEPRECATE 1
00178 #define _CRT_NONSTDC_NO_DEPRECATE 1
00179
00180 #undef OS
00181 #if defined(_M_IX86) || defined(__i386__)
00182 #define OS "i386-pc-win32"
00183 #elif defined(_M_IA64)
00184 #define OS "ia64-pc-win32"
00185 #elif defined(_M_X64)
00186 #define OS "amd64-pc-win32"
00187 #else
00188 #define OS "unknown-pc-win32"
00189 #endif
00190
00191 #define PACKAGE "curl"
00192
00193 #endif