Skip to content

Commit

Permalink
curl.h: remove WIN32 define
Browse files Browse the repository at this point in the history
It isn't our job to define this in a public header - and it defines a
name outside of our naming scope.
  • Loading branch information
bagder committed Jan 9, 2020
1 parent f4d60b6 commit 1adebe7
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions include/curl/curl.h
Expand Up @@ -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
Expand Down Expand Up @@ -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>

Expand Down

0 comments on commit 1adebe7

Please sign in to comment.