VIDEO: Initial working OSX support
This commit is contained in:
parent
cd4da419bb
commit
8c4397ee25
2 changed files with 2 additions and 2 deletions
2
makefile
2
makefile
|
@ -407,7 +407,7 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
|
||||||
VIDEO_FEATURES = - video capabilities provided by libSDL2 (Simple Directmedia Layer)
|
VIDEO_FEATURES = - video capabilities provided by libSDL2 (Simple Directmedia Layer)
|
||||||
$(info using libSDL2: $(call find_lib,SDL2) $(call find_include,SDL2/SDL))
|
$(info using libSDL2: $(call find_lib,SDL2) $(call find_include,SDL2/SDL))
|
||||||
ifeq (Darwin,$(OSTYPE))
|
ifeq (Darwin,$(OSTYPE))
|
||||||
VIDEO_LDFLAGS += -lobjc -framework cocoa
|
VIDEO_LDFLAGS += -lobjc -framework cocoa -DSDL_MAIN_AVAILABLE
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
else
|
else
|
||||||
|
|
|
@ -175,7 +175,7 @@ while (1) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
sim_printf ("main(): Ignoring unexpected event: %d\n", event.type);
|
// sim_printf ("main(): Ignoring unexpected event: %d\n", event.type);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
|
Loading…
Add table
Reference in a new issue