瀏覽代碼

Remove dead code from Windows build script

Pedro J. Estébanez 7 年之前
父節點
當前提交
838fd94a70
共有 1 個文件被更改,包括 0 次插入10 次删除
  1. 0 10
      platform/windows/detect.py

+ 0 - 10
platform/windows/detect.py

@@ -98,18 +98,8 @@ def is_active():
 
 def get_name():
     return "Windows"
-    if (os.getenv("MINGW32_PREFIX")):
-        mingw32=os.getenv("MINGW32_PREFIX")
-        mingw = mingw32
-    if (os.getenv("MINGW64_PREFIX")):
-        mingw64=os.getenv("MINGW64_PREFIX")
 
 
-    return [
-        ('mingw_prefix','Mingw Prefix',mingw32),
-        ('mingw_prefix_64','Mingw Prefix 64 bits',mingw64),
-    ]
-
 def can_build():
 
     if (os.name == "nt"):