summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Holme <steve_holme@hotmail.com>2016-03-19 11:05:06 +0000
committerSteve Holme <steve_holme@hotmail.com>2016-03-19 11:05:06 +0000
commit4ff2fbd1d5d743556627816f4727c499c480d633 (patch)
tree9a4037047f502cb8a6c9ddcb10d880ede6e2bf11
parent97c9d2ae8c472bb199db1b58f0cb117200a2069c (diff)
downloadcurl-4ff2fbd1d5d743556627816f4727c499c480d633.tar.gz
config-w32.h: Fixed compilation warning when /Wall enabled
warning C4668: 'USE_IPV6' is not defined as a preprocessor macro, replacing with '0' for '#if/#elif'
-rw-r--r--lib/config-win32.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/config-win32.h b/lib/config-win32.h
index 269e6dbbf..af7bb1fb0 100644
--- a/lib/config-win32.h
+++ b/lib/config-win32.h
@@ -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