summaryrefslogtreecommitdiffstatshomepage
path: root/src
diff options
context:
space:
mode:
author Aaron Giles <aaron@aarongiles.com>2010-01-15 23:42:49 +0000
committer Aaron Giles <aaron@aarongiles.com>2010-01-15 23:42:49 +0000
commit971151c8d74d301090993eaae6938df080efcb5d (patch)
tree360f713839ed193b5b9b93bdcb9e9e9e28795ee8 /src
parent2a0dcc679e710269db1449d166d6704cf5eeefe1 (diff)
Cheesy autodetect for PTR64 on Windows using standard build tools.
Diffstat (limited to 'src')
-rw-r--r--src/osd/windows/windows.mak12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/osd/windows/windows.mak b/src/osd/windows/windows.mak
index 21d6efeb9a3..10c7e8f743a 100644
--- a/src/osd/windows/windows.mak
+++ b/src/osd/windows/windows.mak
@@ -79,6 +79,18 @@ OBJDIRS += $(WINOBJ)
#-------------------------------------------------
+# auto-detect PTR64
+#-------------------------------------------------
+
+ifndef PTR64
+ifneq (,$(findstring mingw64-w64,$(PATH)))
+PTR64=1
+endif
+endif
+
+
+
+#-------------------------------------------------
# configure the resource compiler
#-------------------------------------------------