Make sure that 64bit incompatible code only is used when we are 32bit.
git-svn-id: https://warzone2100.svn.sourceforge.net/svnroot/warzone2100/trunk@11035 4a71c877-e1ca-e34f-864e-861f7616d084master
parent
94fef64201
commit
6daf4464de
|
@ -45,7 +45,7 @@ bool assertEnabled = true;
|
|||
#else
|
||||
bool assertEnabled = false;
|
||||
#endif
|
||||
#if defined(WZ_OS_MAC)
|
||||
#if defined(WZ_OS_MAC32) // FIXME: Needs to be made compatible with 64bit
|
||||
#include <Carbon/Carbon.h>
|
||||
#endif
|
||||
/*
|
||||
|
@ -434,7 +434,7 @@ void _debug( code_part part, const char *function, const char *str, ... )
|
|||
MessageBoxA( NULL,
|
||||
wbuf,
|
||||
"Warzone has terminated unexpectedly", MB_OK|MB_ICONERROR);
|
||||
#elif defined(WZ_OS_MAC)
|
||||
#elif defined(WZ_OS_MAC32) // FIXME: Needs to be made compatible with 64bit
|
||||
AlertStdCFStringAlertParamRec param;
|
||||
DialogRef dialog;
|
||||
OSStatus err;
|
||||
|
@ -469,7 +469,7 @@ void _debug( code_part part, const char *function, const char *str, ... )
|
|||
MessageBoxA( NULL,
|
||||
wbuf,
|
||||
"Warzone has detected a problem.", MB_OK|MB_ICONINFORMATION);
|
||||
#elif defined (WZ_OS_MAC)
|
||||
#elif defined (WZ_OS_MAC32) // FIXME: Needs to be made compatible with 64bit
|
||||
AlertStdCFStringAlertParamRec param;
|
||||
DialogRef dialog;
|
||||
OSStatus err;
|
||||
|
|
Loading…
Reference in New Issue