diff options
author | Daniel Stenberg <daniel@haxx.se> | 2020-01-06 23:31:42 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2020-01-09 22:57:32 +0100 |
commit | 1adebe7886ddf20b0733bf9ccbae4ed4866dcfb6 (patch) | |
tree | 4c62a4e3fad81a882195deb9aca213d2c273f13c /include | |
parent | f4d60b6f8fb1f0ba832b8e4853b8b52a2397d0b2 (diff) |
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.
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/curl.h | 11 |
1 files changed, 1 insertions, 10 deletions
diff --git a/include/curl/curl.h b/include/curl/curl.h index a9754fd64..19acbec15 100644 --- a/include/curl/curl.h +++ b/include/curl/curl.h @@ -7,7 +7,7 @@ * | (__| |_| | _ <| |___ * \___|\___/|_| \_\_____| * - * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al. + * Copyright (C) 1998 - 2020, 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 @@ -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 <stdio.h> #include <limits.h> |