mirror of
https://github.com/curl/curl.git
synced 2026-07-29 06:03:06 +03:00
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.
This commit is contained in:
parent
f4d60b6f8f
commit
1adebe7886
1 changed files with 1 additions and 10 deletions
|
|
@ -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
|
* This software is licensed as described in the file COPYING, which
|
||||||
* you should have received as part of this distribution. The terms
|
* you should have received as part of this distribution. The terms
|
||||||
|
|
@ -37,15 +37,6 @@
|
||||||
#include "curlver.h" /* libcurl version defines */
|
#include "curlver.h" /* libcurl version defines */
|
||||||
#include "system.h" /* determine things run-time */
|
#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 <stdio.h>
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue