From 1a9352470dfeb244c79baeb232d5c1ece42af9cb Mon Sep 17 00:00:00 2001 From: twinaphex Date: Mon, 15 Jul 2019 06:17:33 +0200 Subject: [PATCH] (MSVC 2017) Add HAVE_CDROM for desktop version --- Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/Makefile b/Makefile index 3b8bb7a0..62caba3c 100644 --- a/Makefile +++ b/Makefile @@ -373,6 +373,7 @@ else ifneq (,$(findstring windows_msvc2017,$(platform))) MSVC2017CompileFlags = -DWINAPI_FAMILY=WINAPI_FAMILY_DESKTOP_APP -FS LDFLAGS += -MANIFEST -LTCG:incremental -NXCOMPAT -DYNAMICBASE -DEBUG -OPT:REF -INCREMENTAL:NO -SUBSYSTEM:WINDOWS -MANIFESTUAC:"level='asInvoker' uiAccess='false'" -OPT:ICF -ERRORREPORT:PROMPT -NOLOGO -TLBID:1 LIBS += kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib + HAVE_CDROM = 1 else ifneq (,$(findstring uwp,$(PlatformSuffix))) WinPartition = uwp MSVC2017CompileFlags = -DWINAPI_FAMILY=WINAPI_FAMILY_APP -D_WINDLL -D_UNICODE -DUNICODE -D__WRL_NO_DEFAULT_LIB__ -EHsc -FS