This commit is contained in:
Themaister 2011-02-04 16:41:52 -06:00
parent 96389ef83b
commit 5e241d79c8
2 changed files with 2 additions and 1 deletions

View File

@ -11,7 +11,7 @@ DEFINES = -DHAVE_CONFIG_H
ifneq ($(findstring Darwin,$(shell uname -a)),)
OSX := 1
LIBS += -framework AppKit
LIBS += -framework AppKit -lSDLmain
OBJ += osx-glue.o
else
OSX := 0

View File

@ -36,6 +36,7 @@
#endif
#ifdef __APPLE__
#include "SDL.h"
void NSApplicationLoad(void);
void init_ns_pool(void);
void deinit_ns_pool(void);