]> granicus.if.org Git - curl/commitdiff
config-w32.h: Fixed compilation warning when /Wall enabled
authorSteve Holme <steve_holme@hotmail.com>
Sat, 19 Mar 2016 11:05:06 +0000 (11:05 +0000)
committerSteve Holme <steve_holme@hotmail.com>
Sat, 19 Mar 2016 11:05:06 +0000 (11:05 +0000)
warning C4668: 'USE_IPV6' is not defined as a preprocessor macro,
               replacing with '0' for '#if/#elif'

lib/config-win32.h

index 269e6dbbfafcc6dfad59cad3863a0da62910f49b..af7bb1fb0c486f0ddabf4302d370a685b4190939 100644 (file)
@@ -7,7 +7,7 @@
  *                            | (__| |_| |  _ <| |___
  *                             \___|\___/|_| \_\_____|
  *
- * Copyright (C) 1998 - 2015, Daniel Stenberg, <daniel@haxx.se>, et al.
+ * Copyright (C) 1998 - 2016, Daniel Stenberg, <daniel@haxx.se>, et al.
  *
  * This software is licensed as described in the file COPYING, which
  * you should have received as part of this distribution. The terms
@@ -729,7 +729,7 @@ Vista
 /* If you want to build curl with the built-in manual */
 #define USE_MANUAL 1
 
-#if defined(__POCC__) || (USE_IPV6)
+#if defined(__POCC__) || defined(USE_IPV6)
 #  define ENABLE_IPV6 1
 #endif