summaryrefslogtreecommitdiff
path: root/demoscript/Util.py
diff options
context:
space:
mode:
Diffstat (limited to 'demoscript/Util.py')
-rw-r--r--demoscript/Util.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/demoscript/Util.py b/demoscript/Util.py
index fa266745fc0..601fd93b73a 100644
--- a/demoscript/Util.py
+++ b/demoscript/Util.py
@@ -714,7 +714,7 @@ def processCmdLine():
iceHome = "/usr"
if not x64:
- x64 = isWin32() and os.environ.get("XTARGET") == "x64" or os.environ.get("LP64") == "yes"
+ x64 = isWin32() and os.environ.get("PLATFORM").upper() == "X64" or os.environ.get("LP64") == "yes"
if not noenv:
configurePaths()