summaryrefslogtreecommitdiff
path: root/getheader.py
diff options
context:
space:
mode:
Diffstat (limited to 'getheader.py')
-rw-r--r--getheader.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/getheader.py b/getheader.py
index e9d7ea7..2c3679f 100644
--- a/getheader.py
+++ b/getheader.py
@@ -14,12 +14,14 @@ print "\n windows args are"
print args,"-I%s"%path
ext=False
-#see if we're on 64bit.
+"""#see if we're on 64bit.
with open("./includes/defines.h") as fid:
for line in fid:
if(line.startswith("#define") and line.count("PYEXT")>0):
print "using external console.py"
- ext=True
+ ext=True"""
+if("--64bit" in sys.argv):
+ ext=True
if(ext):
print "external"