/* ______ ___ ___ * /\ _ \ /\_ \ /\_ \ * \ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___ * \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\ * \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \ * \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/ * \/_/\/_/\/____/\/____/\/____/\/___L\ \/_/ \/___/ * /\____/ * \_/__/ * * MacOS X specific header defines. * * By Angelo Mottola. * * See readme.txt for copyright information. */ #ifndef __al_included_allegro5_alosx_h #define __al_included_allegro5_alosx_h #ifndef ALLEGRO_MACOSX #error bad include #endif #include #include #include #include #include #include #if defined __OBJC__ && defined ALLEGRO_SRC #import #import #import #import #import #import #import #import #import #import #import #import #import #import #endif ALLEGRO_PATH *_al_osx_get_path(int id); #ifndef ALLEGRO_LIB_BUILD #ifndef ALLEGRO_NO_MAGIC_MAIN #define ALLEGRO_MAGIC_MAIN #if __GNUC__ >= 4 #define main __attribute__ ((visibility("default"))) _al_mangled_main #else #define main _al_mangled_main #endif #ifdef __cplusplus extern "C" int _al_mangled_main(int, char **); #endif #endif #endif /* Keyboard driver */ #define KEYBOARD_MACOSX AL_ID('O','S','X','K') #endif /* Local variables: */ /* mode: objc */ /* c-basic-offset: 3 */ /* indent-tabs-mode: nil */ /* End: */ /* vim: set sts=3 sw=3 et: */