From d0aa7ba749f2f45430d0f2ccf48beb02b7612d21 Mon Sep 17 00:00:00 2001 From: rdb Date: Sun, 28 Mar 2010 07:15:06 +0000 Subject: [PATCH] Interrogate fixes for Snow Leopard --- makepanda/makepanda.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makepanda/makepanda.py b/makepanda/makepanda.py index 815edcb320..91b235d14f 100755 --- a/makepanda/makepanda.py +++ b/makepanda/makepanda.py @@ -760,7 +760,7 @@ def CompileIgate(woutd,wsrc,opts): #FIXME: allow 64-bits on OSX if (COMPILER=="LINUX") and (platform.architecture()[0]=="64bit") and (sys.platform!="darwin"): cmd += ' -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__inline -D__const=const -D_LP64' - if (COMPILER=="LINUX") and (platform.architecture()[0]=="32bit"): + if (COMPILER=="LINUX") and (platform.architecture()[0]=="32bit" or sys.platform=="darwin"): cmd += ' -DCPPPARSER -D__STDC__=1 -D__cplusplus -D__inline -D__const=const -D__i386__' optlevel=GetOptimizeOption(opts) if (optlevel==1): cmd += ' -D_DEBUG'