mirror of
https://github.com/libuv/libuv
synced 2025-03-28 21:13:16 +00:00
Revert "win,build: remove unused build defines"
This reverts commit 60db5b5a1bb446e4b8a6d15ce277d5f7987bf07a. Removing the WIN32_LEAN_AND_MEAN definition caused build errors on mingw64. Fixes: https://github.com/libuv/libuv/issues/820 PR-URL: https://github.com/libuv/libuv/pull/821 Reviewed-By: Saúl Ibarra Corretgé <saghul@gmail.com> Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
This commit is contained in:
parent
341097403d
commit
be8e237a8e
@ -43,6 +43,7 @@ if WINNT
|
||||
|
||||
include_HEADERS += include/uv-win.h include/tree.h
|
||||
AM_CPPFLAGS += -I$(top_srcdir)/src/win \
|
||||
-DWIN32_LEAN_AND_MEAN \
|
||||
-D_WIN32_WINNT=0x0600
|
||||
LIBS += -lws2_32 -lpsapi -liphlpapi -lshell32 -luserenv
|
||||
libuv_la_SOURCES += src/win/async.c \
|
||||
|
@ -20,6 +20,7 @@ CFLAGS += -Wall \
|
||||
-Iinclude \
|
||||
-Isrc \
|
||||
-Isrc/win \
|
||||
-DWIN32_LEAN_AND_MEAN \
|
||||
-D_WIN32_WINNT=0x0600
|
||||
|
||||
INCLUDES = include/stdint-msvc2008.h \
|
||||
|
Loading…
x
Reference in New Issue
Block a user