Sfoglia il codice sorgente

Remove dead code from Windows build script

Pedro J. Estébanez 7 anni fa
parent
commit
838fd94a70
1 ha cambiato i file con 0 aggiunte e 10 eliminazioni
  1. 0 10
      platform/windows/detect.py

+ 0 - 10
platform/windows/detect.py

@@ -98,18 +98,8 @@ def is_active():
 
 
 def get_name():
 def get_name():
     return "Windows"
     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():
 def can_build():
 
 
     if (os.name == "nt"):
     if (os.name == "nt"):