diff options
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/src/osd/modules.lua | 9 | ||||
| -rw-r--r-- | scripts/src/osd/windows_cfg.lua | 17 |
2 files changed, 2 insertions, 24 deletions
diff --git a/scripts/src/osd/modules.lua b/scripts/src/osd/modules.lua index 21d80152a63..b7fe831439b 100644 --- a/scripts/src/osd/modules.lua +++ b/scripts/src/osd/modules.lua @@ -710,15 +710,6 @@ if not _OPTIONS["NO_USE_PIPEWIRE"] then end newoption { - trigger = "MODERN_WIN_API", - description = "Use Modern Windows APIs", - allowed = { - { "0", "Use classic Windows APIs - allows support for XP and later" }, - { "1", "Use Modern Windows APIs - support for Windows 8.1 and later" }, - }, -} - -newoption { trigger = "USE_QTDEBUG", description = "Use QT debugger", allowed = { diff --git a/scripts/src/osd/windows_cfg.lua b/scripts/src/osd/windows_cfg.lua index 2eb8bae410a..0e4d2014f32 100644 --- a/scripts/src/osd/windows_cfg.lua +++ b/scripts/src/osd/windows_cfg.lua @@ -16,23 +16,10 @@ configuration { "vs*" } configuration { } -if not _OPTIONS["MODERN_WIN_API"] then - _OPTIONS["MODERN_WIN_API"] = "0" -end - -if _OPTIONS["MODERN_WIN_API"]=="1" then - defines { - "WINVER=0x0602", - "_WIN32_WINNT=0x0602", - "NTDDI_VERSION=0x06030000", - "MODERN_WIN_API", - } -else defines { - "_WIN32_WINNT=0x0602", - "NTDDI_VERSION=0x06000000", + "WINVER=0x0A00", + "_WIN32_WINNT=0x0A00", } -end if _OPTIONS["USE_TAPTUN"]=="1" or _OPTIONS["USE_PCAP"]=="1" then defines { |
