]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl.h: remove WIN32 define
authorDaniel Stenberg <daniel@haxx.se>
Mon, 6 Jan 2020 22:31:42 +0000 (23:31 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 9 Jan 2020 21:57:32 +0000 (22:57 +0100)
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

index a9754fd6484b7cd73c4bcfb330b6adf95c917156..19acbec15c6fb77c6acb86bfe8d25903f1700b86 100644 (file)
@@ -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
 #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>