summaryrefslogtreecommitdiff
path: root/getheader.py
diff options
context:
space:
mode:
authorLieuwe <lieuwemo@gmail.com>2011-03-20 16:46:29 (GMT)
committer Lieuwe <lieuwemo@gmail.com>2011-03-20 16:46:29 (GMT)
commit295626563f8710c9c8bdfb6414788a6858b8a1f8 (patch)
treeac6924e8d56a515e88ce5df77063c605605a337a /getheader.py
parentd7cfbed2cd9b4cdd52885410fa01a434cfd441f5 (diff)
downloadpowder-295626563f8710c9c8bdfb6414788a6858b8a1f8.zip
powder-295626563f8710c9c8bdfb6414788a6858b8a1f8.tar.gz
64bit fixing shit
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"