From: Steve Holme Date: Sat, 19 Mar 2016 11:05:06 +0000 (+0000) Subject: config-w32.h: Fixed compilation warning when /Wall enabled X-Git-Tag: curl-7_48_0~21 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=4ff2fbd1d5d743556627816f4727c499c480d633;p=thirdparty%2Fcurl.git 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' --- diff --git a/lib/config-win32.h b/lib/config-win32.h index 269e6dbbfa..af7bb1fb0c 100644 --- a/lib/config-win32.h +++ b/lib/config-win32.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2015, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2016, Daniel Stenberg, , 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