mirror of
https://github.com/curl/curl.git
synced 2025-02-23 15:10:03 +08:00
winbuild: remove outdated WIN32 defines
- Remove all instances in the makefile of compiler option /DWIN32.
This is a follow-up to e9a7d4a1
which replaced all defined(WIN32) checks
with defined(_WIN32) in the codebase, since only the latter is
automatically defined by all compilers for Windows builds.
Bug: https://github.com/curl/curl/pull/13739#issuecomment-2123937859
Reported-by: Viktor Szakats
Closes https://github.com/curl/curl/pull/13742
This commit is contained in:
parent
86cb12a400
commit
795515c773
@ -48,11 +48,11 @@ CC = cl.exe
|
||||
!IF "$(VC)"=="6"
|
||||
CC_NODEBUG = $(CC) /O2 /DNDEBUG
|
||||
CC_DEBUG = $(CC) /Od /Gm /Zi /D_DEBUG /GZ
|
||||
CFLAGS = /I. /I../lib /I../include /nologo /W4 /GX /DWIN32 /YX /FD /c /DBUILDING_LIBCURL
|
||||
CFLAGS = /I. /I../lib /I../include /nologo /W4 /GX /YX /FD /c /DBUILDING_LIBCURL
|
||||
!ELSE
|
||||
CC_NODEBUG = $(CC) /O2 /DNDEBUG
|
||||
CC_DEBUG = $(CC) /Od /D_DEBUG /RTC1 /Z7 /LDd
|
||||
CFLAGS = /I. /I ../lib /I../include /nologo /W4 /EHsc /DWIN32 /FD /c /DBUILDING_LIBCURL
|
||||
CFLAGS = /I. /I ../lib /I../include /nologo /W4 /EHsc /FD /c /DBUILDING_LIBCURL
|
||||
!ENDIF
|
||||
|
||||
LFLAGS = /nologo /machine:$(MACHINE)
|
||||
@ -90,7 +90,7 @@ PDB_NAME_DLL_DEBUG = $(BASE_NAME_DEBUG).pdb
|
||||
|
||||
# CURL Command section
|
||||
PROGRAM_NAME = curl.exe
|
||||
CURL_CFLAGS = /I../lib /I../include /nologo /W4 /EHsc /DWIN32 /FD /c
|
||||
CURL_CFLAGS = /I../lib /I../include /nologo /W4 /EHsc /FD /c
|
||||
CURL_LFLAGS = /out:$(DIRDIST)\bin\$(PROGRAM_NAME) /subsystem:console $(LFLAGS)
|
||||
CURL_RESFLAGS = /i../include
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user