Skip to content

Commit

Permalink
build: remove WIN32_LEAN_AND_MEAN from individual build systems
Browse files Browse the repository at this point in the history
It's defined for all build systems in curl_setup.h since commit
beb0848. This caused macro
redefinition warnings in the configure builds.

Closes curl#1677
  • Loading branch information
MarcelRaad committed Jul 11, 2017
1 parent 274983b commit ef5cac3
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 5 deletions.
2 changes: 0 additions & 2 deletions acinclude.m4
Original file line number Diff line number Diff line change
Expand Up @@ -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
])
Expand Down
3 changes: 0 additions & 3 deletions lib/curl_config.h.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ef5cac3

Please sign in to comment.