Kaynağa Gözat

fix microsoft-detours defines (#2971)

Jai 1 yıl önce
ebeveyn
işleme
22223c3e86
1 değiştirilmiş dosya ile 1 ekleme ve 2 silme
  1. 1 2
      packages/m/microsoft-detours/xmake.lua

+ 1 - 2
packages/m/microsoft-detours/xmake.lua

@@ -15,12 +15,11 @@ package("microsoft-detours")
                 set_kind("$(kind)")
                 add_files("src/*.cpp|uimports.cpp")
                 add_headerfiles("src/*.h")
-                add_defines("WIN32_LEAN_AND_MEAN", "_WIN32_WINNT=0x501")
+                add_defines("WIN32_LEAN_AND_MEAN")
                 if is_mode("debug") then
                     add_defines("DETOUR_DEBUG=1")
                 end
         ]])
-        package:add("defines", "WIN32_LEAN_AND_MEAN", "_WIN32_WINNT=0x501")
         if package:config("shared") then
             configs.kind = "shared"
         end