/usr/include/allegro5/platform/alosx.h is in liballegro5-dev 2:5.2.3.0-1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 | /* ______ ___ ___
* /\ _ \ /\_ \ /\_ \
* \ \ \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 <stdio.h>
#include <stdlib.h>
#include <fcntl.h>
#include <unistd.h>
#include <signal.h>
#include <pthread.h>
#if defined __OBJC__ && defined ALLEGRO_SRC
#import <mach/mach.h>
#import <mach/mach_error.h>
#import <AppKit/AppKit.h>
#import <ApplicationServices/ApplicationServices.h>
#import <Cocoa/Cocoa.h>
#import <CoreAudio/CoreAudio.h>
#import <AudioUnit/AudioUnit.h>
#import <AudioToolbox/AudioToolbox.h>
#import <IOKit/IOKitLib.h>
#import <IOKit/IOCFPlugIn.h>
#import <IOKit/hid/IOHIDLib.h>
#import <IOKit/hid/IOHIDKeys.h>
#import <Kernel/IOKit/hidsystem/IOHIDUsageTables.h>
#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"),used)) _al_mangled_main
#else
#define main _al_mangled_main
#endif
#ifdef __cplusplus
extern "C" int _al_mangled_main(int, char **);
/* We can't provide a prototype for C without restricting
* users into a single function signature for main().
*/
#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: */
|