From 1adebe7886ddf20b0733bf9ccbae4ed4866dcfb6 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 6 Jan 2020 23:31:42 +0100 Subject: [PATCH] curl.h: remove WIN32 define It isn't our job to define this in a public header - and it defines a name outside of our naming scope. --- include/curl/curl.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) diff --git a/include/curl/curl.h b/include/curl/curl.h index a9754fd6484b7c..19acbec15c6fb7 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2019, Daniel Stenberg, , et al. + * Copyright (C) 1998 - 2020, 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 @@ -37,15 +37,6 @@ #include "curlver.h" /* libcurl version defines */ #include "system.h" /* determine things run-time */ -/* - * Define WIN32 when build target is Win32 API - */ - -#if (defined(_WIN32) || defined(__WIN32__)) && \ - !defined(WIN32) && !defined(__SYMBIAN32__) -#define WIN32 -#endif - #include #include