Unverified Commit ef5cac3d authored by Marcel Raad's avatar Marcel Raad
Browse files

build: remove WIN32_LEAN_AND_MEAN from individual build systems

It's defined for all build systems in curl_setup.h since commit
beb08481. This caused macro
redefinition warnings in the configure builds.

Closes https://github.com/curl/curl/pull/1677
parent 274983b7
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -199,8 +199,6 @@ AC_DEFUN([CURL_CHECK_HEADER_WINDOWS], [
    yes)
      AC_DEFINE_UNQUOTED(HAVE_WINDOWS_H, 1,
        [Define to 1 if you have the windows.h header file.])
      AC_DEFINE_UNQUOTED(WIN32_LEAN_AND_MEAN, 1,
        [Define to avoid automatic inclusion of winsock.h])
      ;;
  esac
])
+0 −3
Original line number Diff line number Diff line
@@ -972,9 +972,6 @@
/* Version number of package */
#cmakedefine VERSION ${VERSION}

/* Define to avoid automatic inclusion of winsock.h */
#cmakedefine WIN32_LEAN_AND_MEAN 1

/* Define to 1 if OS is AIX. */
#ifndef _ALL_SOURCE
#  undef _ALL_SOURCE