Commits

Anonymous committed d5085cc

changes to fix compile errors in OSX 10.7.5

Comments (0)

Files changed (2)

projects/unix/Makefile

   endif
 
   # The mac version of SDL requires inclusion of SDL_main in the executable
+  CFLAGS += $(shell $(SDL_CONFIG) --cflags)
   LDLIBS += -ldl $(shell $(SDL_CONFIG) --libs)
   ifeq ($(CPU), X86)
     ifeq ($(ARCH_DETECTED), 64BITS)
 
 // The mac version of SDL requires inclusion of SDL_main in the executable
 #ifdef __APPLE__
-#include <SDL_main.h>
+	 #include <SDL_main.h>
 #endif
 
 #include "cheat.h"