/usr/include/allegro/platform/almaccfg.h is in liballegro4-dev 2:4.4.2-4.
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 | /* ______ ___ ___
* /\ _ \ /\_ \ /\_ \
* \ \ \L\ \\//\ \ \//\ \ __ __ _ __ ___
* \ \ __ \ \ \ \ \ \ \ /'__`\ /'_ `\/\`'__\/ __`\
* \ \ \/\ \ \_\ \_ \_\ \_/\ __//\ \L\ \ \ \//\ \L\ \
* \ \_\ \_\/\____\/\____\ \____\ \____ \ \_\\ \____/
* \/_/\/_/\/____/\/____/\/____/\/___L\ \/_/ \/___/
* /\____/
* \_/__/
*
* Configuration defines for use with MPW.
*
* By Ronaldo Hideki Yamada.
*
* See readme.txt for copyright information.
*/
#ifndef SCAN_DEPEND
#include <MacTypes.h>
#include <QuickDraw.h>
#endif
#define CALL_NOT_IN_CARBON 1
#include <FCntl.h>
#ifndef ENOSYS
#define ENOSYS ENOENT
#endif
/* describe this platform */
#define ALLEGRO_PLATFORM_STR "mpw"
#define ALLEGRO_BIG_ENDIAN
#undef ALLEGRO_CONSOLE_OK
#define INLINE
#define ZERO_SIZE_ARRAY(type, name) type name[64]
#define AL_CONST const
#define AL_VAR(type, name) extern type name
#define AL_ARRAY(type, name) extern type name[]
#define AL_FUNC(type, name, args) type name args
#define AL_PRINTFUNC(type, name, args, a, b) AL_FUNC(type, name, args)
#define AL_METHOD(type, name, args) type (*name) args
#define AL_FUNCPTR(type, name, args) extern type (*name) args
#define END_OF_MAIN() void x##_end(void) { }
#define END_OF_FUNCTION(x) void x##_end(void) { }
#define END_OF_STATIC_FUNCTION(x) static void x##_end(void) { }
#define LOCK_DATA(d, s) _mac_lock((void *)d, s)
#define LOCK_CODE(c, s) _mac_lock((void *)c, s)
#define UNLOCK_DATA(d,s) _mac_unlock((void *)d, s)
#define LOCK_VARIABLE(x) LOCK_DATA((void *)&x, sizeof(x))
#define LOCK_FUNCTION(x) LOCK_CODE((void *)x, (intptr_t)x##_end - (intptr_t)x)
/* long filename status */
#define ALLEGRO_LFN 0
#define ALLEGRO_NO_STRICMP 1
#define ALLEGRO_NO_STRUPR 1
//#define ALLEGRO_NO_STRDUP 1
#ifdef __cplusplus
extern "C"
#endif
char *strdup(const char *);
#ifndef AL_INLINE
#define AL_INLINE(type, name, args, code) static type name args code
#endif
// gm_time has an strange return
#define gmtime localtime
#define ALLEGRO_EXTRA_HEADER "allegro/platform/almac.h"
#define ALLEGRO_INTERNAL_HEADER "allegro/platform/aintmac.h"
|