]> granicus.if.org Git - curl/commitdiff
Fix spacing. When defining, define to 1.
authorYang Tse <yangsita@gmail.com>
Sun, 18 Dec 2005 16:50:33 +0000 (16:50 +0000)
committerYang Tse <yangsita@gmail.com>
Sun, 18 Dec 2005 16:50:33 +0000 (16:50 +0000)
ares/config-win32.h
lib/config-win32.h
lib/config-win32ce.h
src/config-win32.h

index cbf4d5dd192317b964157f6f449c4f29bd0809cb..3ce3caa423beb58e77ed4296a1589478d986504a 100644 (file)
  * without express or implied warranty.
  */
 
-#define HAVE_WINDOWS_H
-#define HAVE_WINSOCK2_H
-#define HAVE_WS2TCPIP_H
+/* ================================================================ */
+/*    ares/config-win32.h - Hand crafted config file for windows    */
+/* ================================================================ */
 
+/* ---------------------------------------------------------------- */
+/*                          HEADER FILES                            */
+/* ---------------------------------------------------------------- */
+
+/* Define if you have the <getopt.h> header file.  */
 #if defined(__MINGW32__)
-#define HAVE_GETOPT_H
+#define HAVE_GETOPT_H 1
 #endif
 
-#if defined(__MINGW32__) || defined(__WATCOMC__)
-#define HAVE_UNISTD_H
+/* Define if you have the <unistd.h> header file.  */
+#if defined(__MINGW32__) || defined(__WATCOMC__) || defined(__LCC__)
+#define HAVE_UNISTD_H 1
 #endif
 
-#define HAVE_AF_INET6
-#define HAVE_PF_INET6
-#define HAVE_IOCTLSOCKET
-#define HAVE_STRUCT_IN6_ADDR
-#define HAVE_STRUCT_SOCKADDR_IN6
-#define HAVE_STRUCT_ADDRINFO
-#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID
+/* Define if you have the <windows.h> header file.  */
+#define HAVE_WINDOWS_H 1
+
+/* Define if you have the <winsock.h> header file.  */
+#define HAVE_WINSOCK_H 1
+
+/* Define if you have the <winsock2.h> header file.  */
+#define HAVE_WINSOCK2_H 1
+
+/* Define if you have the <ws2tcpip.h> header file.  */
+#define HAVE_WS2TCPIP_H 1
+
+/* ---------------------------------------------------------------- */
+/*                             FUNCTIONS                            */
+/* ---------------------------------------------------------------- */
+
+/* Define if you have the ioctlsocket function.  */
+#define HAVE_IOCTLSOCKET 1
+
+/* ---------------------------------------------------------------- */
+/*                          STRUCT RELATED                          */
+/* ---------------------------------------------------------------- */
+
+/* Define this if you have struct addrinfo */
+#define HAVE_STRUCT_ADDRINFO 1
+
+/* Define this if you have struct sockaddr_storage */
+#define HAVE_STRUCT_SOCKADDR_STORAGE 1
+
+/* ---------------------------------------------------------------- */
+/*                         IPV6 COMPATIBILITY                       */
+/* ---------------------------------------------------------------- */
+
+/* Define this if you have address family AF_INET6 */
+#define HAVE_AF_INET6 1
+
+/* Define this if you have protocol family PF_INET6 */
+#define HAVE_PF_INET6 1
+
+/* Define this if you have struct in6_addr */
+#define HAVE_STRUCT_IN6_ADDR 1
+
+/* Define this if you have struct sockaddr_in6 */
+#define HAVE_STRUCT_SOCKADDR_IN6 1
+
+/* Define this if you have sockaddr_in6 with scopeid */
+#define HAVE_SOCKADDR_IN6_SIN6_SCOPE_ID 1
+
 
 #endif  /* __ARES_CONFIG_WIN32_H */
index f41f33f5c266e934bf7135c81f832c49861f5386..92d06e23dd4ac5a9c3e853397ebbaa047d75a79e 100644 (file)
 #define HAVE_ASSERT_H 1
 
 /* Define if you have the <crypto.h> header file.  */
-/* #undef HAVE_CRYPTO_H */
+/* #define HAVE_CRYPTO_H 1 */
 
 /* Define if you have the <dlfcn.h> header file.  */
 /* #define HAVE_DLFCN_H 1 */
 
 /* Define if you have the <err.h> header file.  */
-/* #undef HAVE_ERR_H */
+/* #define HAVE_ERR_H 1 */
 
 /* Define if you have the <fcntl.h> header file.  */
 #define HAVE_FCNTL_H 1
 
 /* Define if you have the <getopt.h> header file.  */
-/* #undef HAVE_GETOPT_H */
+/* #define HAVE_GETOPT_H 1 */
 
 /* Define if you have the <io.h> header file.  */
 #define HAVE_IO_H 1
 /* #define HAVE_NETDB_H 1 */
 
 /* Define if you have the <netinet/in.h> header file.  */
-/* #define HAVE_NETINET_IN_H 1*/
+/* #define HAVE_NETINET_IN_H 1 */
 
 /* Define if you have the <sgtty.h> header file.  */
-/* #define HAVE_SGTTY_H 1*/
+/* #define HAVE_SGTTY_H 1 */
 
 /* Define if you have the <ssl.h> header file.  */
-/* #undef HAVE_SSL_H */
+/* #define HAVE_SSL_H 1 */
 
 /* Define if you have the <stdlib.h> header file.  */
 #define HAVE_STDLIB_H 1
 
 /* Define if you have the <sys/param.h> header file.  */
-/* #define HAVE_SYS_PARAM_H 1*/
+/* #define HAVE_SYS_PARAM_H 1 */
 
 /* Define if you have the <sys/select.h> header file.  */
 /* #define HAVE_SYS_SELECT_H 1 */
 
 /* Define if you have the <sys/socket.h> header file.  */
-/* #define HAVE_SYS_SOCKET_H 1*/
+/* #define HAVE_SYS_SOCKET_H 1 */
 
 /* Define if you have the <sys/sockio.h> header file.  */
 /* #define HAVE_SYS_SOCKIO_H 1 */
 #define HAVE_CLOSESOCKET 1
 
 /* Define if you don't have vprintf but do have _doprnt.  */
-/* #undef HAVE_DOPRNT */
+/* #define HAVE_DOPRNT 1 */
 
 /* Define if you have the gethostbyaddr function.  */
 #define HAVE_GETHOSTBYADDR 1
 #define HAVE_INET_NTOA 1
 
 /* Define if you have the ioctlsocket function.  */
-#define HAVE_IOCTLSOCKET
+#define HAVE_IOCTLSOCKET 1
 
 /* Define if you have the perror function.  */
 #define HAVE_PERROR 1
 /* ---------------------------------------------------------------- */
 
 /* Define this if you have struct sockaddr_storage */
-#define HAVE_STRUCT_SOCKADDR_STORAGE
+#define HAVE_STRUCT_SOCKADDR_STORAGE 1
 
 /* ---------------------------------------------------------------- */
 /*                        COMPILER SPECIFIC                         */
 /* ---------------------------------------------------------------- */
 
 /* lber dynamic library file */
-/* #undef DL_LBER_FILE */
+/* #define DL_LBER_FILE */
 
 /* ldap dynamic library file */
 #define DL_LDAP_FILE "wldap32.dll"
 /* ---------------------------------------------------------------- */
 
 /* Defines set for VS2005 to _not_ deprecate a few functions we use. */
-#define _CRT_SECURE_NO_DEPRECATE
-#define _CRT_NONSTDC_NO_DEPRECATE
+#define _CRT_SECURE_NO_DEPRECATE 1
+#define _CRT_NONSTDC_NO_DEPRECATE 1
 
 /* Define cpu-machine-OS */
 #undef OS
index e25bb733d80a1dd48d01354dc1904d51bc3d9307..2b14366138523bc9cdb41648e7fac34ce2f909ea 100644 (file)
 /* #define HAVE_ASSERT_H 1 */
 
 /* Define if you have the <crypto.h> header file.  */
-/* #undef HAVE_CRYPTO_H */
+/* #define HAVE_CRYPTO_H 1 */
 
 /* Define if you have the <dlfcn.h> header file.  */
 /* #define HAVE_DLFCN_H 1 */
 
 /* Define if you have the <err.h> header file.  */
-/* #undef HAVE_ERR_H */
+/* #define HAVE_ERR_H 1 */
 
 /* Define if you have the <fcntl.h> header file.  */
 #define HAVE_FCNTL_H 1
 
 /* Define if you have the <getopt.h> header file.  */
-/* #undef HAVE_GETOPT_H */
+/* #define HAVE_GETOPT_H 1 */
 
 /* Define if you have the <io.h> header file.  */
 #define HAVE_IO_H 1
 /* #define HAVE_NETDB_H 1 */
 
 /* Define if you have the <netinet/in.h> header file.  */
-/* #define HAVE_NETINET_IN_H 1*/
+/* #define HAVE_NETINET_IN_H 1 */
 
 /* Define if you have the <sgtty.h> header file.  */
-/* #define HAVE_SGTTY_H 1*/
+/* #define HAVE_SGTTY_H 1 */
 
 /* Define if you have the <ssl.h> header file.  */
-/* #undef HAVE_SSL_H */
+/* #define HAVE_SSL_H 1 */
 
 /* Define if you have the <stdlib.h> header file.  */
 #define HAVE_STDLIB_H 1
 
 /* Define if you have the <sys/param.h> header file.  */
-/* #define HAVE_SYS_PARAM_H 1*/
+/* #define HAVE_SYS_PARAM_H 1 */
 
 /* Define if you have the <sys/select.h> header file.  */
 /* #define HAVE_SYS_SELECT_H 1 */
 
 /* Define if you have the <sys/socket.h> header file.  */
-/* #define HAVE_SYS_SOCKET_H 1*/
+/* #define HAVE_SYS_SOCKET_H 1 */
 
 /* Define if you have the <sys/sockio.h> header file.  */
 /* #define HAVE_SYS_SOCKIO_H 1 */
 #define HAVE_CLOSESOCKET 1
 
 /* Define if you don't have vprintf but do have _doprnt.  */
-/* #undef HAVE_DOPRNT */
+/* #define HAVE_DOPRNT 1 */
 
 /* Define if you have the gethostbyaddr function.  */
 #define HAVE_GETHOSTBYADDR 1
 #define HAVE_INET_NTOA 1
 
 /* Define if you have the ioctlsocket function.  */
-#define HAVE_IOCTLSOCKET
+#define HAVE_IOCTLSOCKET 1
 
 /* Define if you have the perror function.  */
 #define HAVE_PERROR 1
 #define HAVE_STRSTR 1
 
 /* Define if you have the strtoll function.  */
-#ifdef __MINGW32__ 
+#if defined(__MINGW32__) || defined(__WATCOMC__)
 #define HAVE_STRTOLL 1
 #endif
 
 /* ---------------------------------------------------------------- */
 
 /* Define this if you have struct sockaddr_storage */
-/* #define HAVE_STRUCT_SOCKADDR_STORAGE */
+/* #define HAVE_STRUCT_SOCKADDR_STORAGE */
 
 /* ---------------------------------------------------------------- */
 /*                        COMPILER SPECIFIC                         */
 /* ---------------------------------------------------------------- */
 
 /* lber dynamic library file */
-/* #undef DL_LBER_FILE */
+/* #define DL_LBER_FILE */
 
 /* ldap dynamic library file */
 /* #define DL_LDAP_FILE "wldap32.dll" */
 /* ---------------------------------------------------------------- */
 
 /* Defines set for VS2005 to _not_ deprecate a few functions we use. */
-#define _CRT_SECURE_NO_DEPRECATE
-#define _CRT_NONSTDC_NO_DEPRECATE
+#define _CRT_SECURE_NO_DEPRECATE 1
+#define _CRT_NONSTDC_NO_DEPRECATE 1
 
 /* Define cpu-machine-OS */
 #undef OS
 /*                       WinCE                     */
 /* ---------------------------------------------------------------- */
 
-#define CURL_DISABLE_FILE
-#define CURL_DISABLE_TELNET
-#define CURL_DISABLE_LDAP
-#define WITHOUT_MM_LIB
+#define CURL_DISABLE_FILE 1
+#define CURL_DISABLE_TELNET 1
+#define CURL_DISABLE_LDAP 1
+#define WITHOUT_MM_LIB 1
 
 #ifdef HAVE_WINDOWS_H
 #  ifndef WIN32_LEAN_AND_MEAN
index 278af481869f337d5e6a3b4c5b2bfdfcea8d81d7..ab60a2e1e3e800c2194481ea94f85994193644cd 100644 (file)
@@ -69,8 +69,8 @@
 /* ---------------------------------------------------------------- */
 
 /* Defines set for VS2005 to _not_ deprecate a few functions we use. */
-#define _CRT_SECURE_NO_DEPRECATE
-#define _CRT_NONSTDC_NO_DEPRECATE
+#define _CRT_SECURE_NO_DEPRECATE 1
+#define _CRT_NONSTDC_NO_DEPRECATE 1
 
 /* Define cpu-machine-OS */
 #ifndef OS