define win(nt/ver) for windows

This commit is contained in:
Mats A 2020-11-12 16:25:58 +01:00 committed by Mats
parent 0150cd04da
commit aaa69bfe3d

View File

@ -113,6 +113,7 @@ else ifeq ($(platform), libnx)
else
CC ?= gcc
TARGET := $(TARGET_NAME)_libretro.dll
DEFINES += -D_WIN32_WINNT=0x0600 -DWINVER=0x0600
SHARED := -shared -static-libgcc -static-libstdc++ -s -Wl,--version-script=$(CORE_DIR)/link.T -Wl,--no-undefined
LDFLAGS += -lws2_32 -lwinmm