From 971151c8d74d301090993eaae6938df080efcb5d Mon Sep 17 00:00:00 2001 From: Aaron Giles Date: Fri, 15 Jan 2010 23:42:49 +0000 Subject: [PATCH] Cheesy autodetect for PTR64 on Windows using standard build tools. --- src/osd/windows/windows.mak | 12 ++++++++++++ 1 file changed, 12 insertions(+) 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 @@ -78,6 +78,18 @@ OBJDIRS += $(WINOBJ) +#------------------------------------------------- +# auto-detect PTR64 +#------------------------------------------------- + +ifndef PTR64 +ifneq (,$(findstring mingw64-w64,$(PATH))) +PTR64=1 +endif +endif + + + #------------------------------------------------- # configure the resource compiler #-------------------------------------------------