Line | |
---|
1 | #ifndef AL_SITECONFIG_H_ |
---|
2 | #define AL_SITECONFIG_H_ |
---|
3 | |
---|
4 | /* |
---|
5 | * Wrap site specific config stuff |
---|
6 | */ |
---|
7 | |
---|
8 | #ifdef DARWIN_PBBUILDER |
---|
9 | #include "config-osx.h" |
---|
10 | #else |
---|
11 | #include "config.h" |
---|
12 | #endif /* DARWIN_PBBUILDER */ |
---|
13 | |
---|
14 | #ifdef HAVE___ATTRIBUTE__ |
---|
15 | #define UNUSED(x) x __attribute__((unused)) |
---|
16 | #define AL_ATTRIBUTE_FORMAT_PRINTF_(x,y) __attribute__((format(printf, x, y))) |
---|
17 | #define AL_ATTRIBUTE_NORETURN_ __attribute__((noreturn)) |
---|
18 | #else |
---|
19 | #define UNUSED(x) x |
---|
20 | #define AL_ATTRIBUTE_FORMAT_PRINTF_(x,y) |
---|
21 | #define AL_ATTRIBUTE_NORETURN_ |
---|
22 | #endif |
---|
23 | |
---|
24 | #define USE_LRINT 0 /* icculus look here JIV FIXME */ |
---|
25 | |
---|
26 | #if USE_LRINT |
---|
27 | |
---|
28 | #define __USE_ISOC99 1 |
---|
29 | #define _ISOC99_SOURCE 1 |
---|
30 | #define __USE_EXTERN_INLINES 1 |
---|
31 | #define __FAST_MATH__ 1 |
---|
32 | #include <math.h> |
---|
33 | |
---|
34 | #endif |
---|
35 | |
---|
36 | #endif /* AL_SITE_CONFIG_H_ */ |
---|
Note: See
TracBrowser
for help on using the repository browser.