VIDEO: Initial working OSX support

This commit is contained in:
Mark Pizzolato 2015-02-04 17:03:52 -08:00
parent cd4da419bb
commit 8c4397ee25
2 changed files with 2 additions and 2 deletions

View file

@ -407,7 +407,7 @@ ifeq ($(WIN32),) #*nix Environments (&& cygwin)
VIDEO_FEATURES = - video capabilities provided by libSDL2 (Simple Directmedia Layer)
$(info using libSDL2: $(call find_lib,SDL2) $(call find_include,SDL2/SDL))
ifeq (Darwin,$(OSTYPE))
VIDEO_LDFLAGS += -lobjc -framework cocoa
VIDEO_LDFLAGS += -lobjc -framework cocoa -DSDL_MAIN_AVAILABLE
endif
endif
else

View file

@ -175,7 +175,7 @@ while (1) {
}
}
else {
sim_printf ("main(): Ignoring unexpected event: %d\n", event.type);
// sim_printf ("main(): Ignoring unexpected event: %d\n", event.type);
}
}
else {