X-Git-Url: http://deadsoftware.ru/gitweb?a=blobdiff_plain;f=src%2Fshared%2Fa_modes.inc;h=a7f5ab13079ee747afa91bf8e9f7732b5a003cbe;hb=e1f115c17f5d486849c6c113ca0ea19e3eb2a2cc;hp=68a06725be44bc6a09c866a23cc415a39205b2d6;hpb=9dca47bd3c931ac2de19aa738124ba843072c2b6;p=d2df-sdl.git diff --git a/src/shared/a_modes.inc b/src/shared/a_modes.inc index 68a0672..a7f5ab1 100644 --- a/src/shared/a_modes.inc +++ b/src/shared/a_modes.inc @@ -26,6 +26,9 @@ {$MODESWITCH TYPEHELPERS+} // Allow the use of type helpers. {$MODESWITCH UNICODESTRINGS-} +{$IFDEF DARWIN} + {$MODESWITCH OBJECTIVEC1} +{$ENDIF} {$ASSERTIONS ON} {$BITPACKING OFF} @@ -63,7 +66,7 @@ {$DEFINE D2F_MORE_OPTIM} {$ENDIF} {$WARNINGS ON} -{$NOTES ON} +{.$NOTES ON} {$IF DEFINED(D2F_DEBUG_OPTIM) or DEFINED(D2F_MORE_OPTIM)} {$OPTIMIZATION DEADVALUES} @@ -112,9 +115,6 @@ {$IF DEFINED(USE_SYSSTUB) OR DEFINED(USE_SDL2)} {$ERROR Only one system driver must be selected!} {$ENDIF} - {$IFDEF USE_SDLMIXER} - {$ERROR SDL_mixer not supported with SDL 1.2.x} - {$ENDIF} {$ELSEIF DEFINED(USE_SDL2)} {$IF DEFINED(USE_SYSSTUB) OR DEFINED(USE_SDL)} {$ERROR Only one system driver must be selected!}