diff options
Diffstat (limited to 'src/common.h')
| -rw-r--r-- | src/common.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/common.h b/src/common.h new file mode 100644 index 0000000..4f16df7 --- /dev/null +++ b/src/common.h | |||
| @@ -0,0 +1,15 @@ | |||
| 1 | #ifndef COMMON_H | ||
| 2 | #define COMMON_H | ||
| 3 | |||
| 4 | #define PLIST_LITTLE_ENDIAN 0 | ||
| 5 | #define PLIST_BIG_ENDIAN 1 | ||
| 6 | |||
| 7 | #if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__CYGWIN__) | ||
| 8 | # define _PLIST_INTERNAL __attribute__((visibility("hidden"))) | ||
| 9 | #elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) | ||
| 10 | # define _PLIST_INTERNAL __hidden | ||
| 11 | #else /* not gcc >= 4 and not Sun Studio >= 8 */ | ||
| 12 | # define _PLIST_INTERNAL | ||
| 13 | #endif /* GNUC >= 4 */ | ||
| 14 | |||
| 15 | #endif | ||
