2 #include <X11/fonts/fntfilst.h>
3 #include <X11/fonts/font.h>
12 /* this probably works for Mach-O too, but probably not for PE */
13 #if (defined(__APPLE__) || defined(__ELF__)) && defined(__GNUC__) && (__GNUC__ >= 3)
14 #define weak __attribute__((weak))
17 #ifndef __SUNPRO_C /* Sun compilers use #pragma weak in .c files instead */
18 #define NO_WEAK_SYMBOLS
22 /* This is really just a hack for now... __APPLE__ really should be using
23 * the weak symbols route above, but it's causing an as-yet unresolved issue,
24 * so we're instead building with flat_namespace.
31 extern FontPtr find_old_font ( FSID id );
32 extern int set_font_authorizations ( char **authorizations,
36 extern unsigned long GetTimeInMillis (void);
38 extern void ErrorF(const char *format, ...);
39 extern void FatalError(const char *format, ...);