From 024e755d9f3c33e742ce158542b1ded057a88f4f Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Fri, 27 May 2011 14:55:31 +0200 Subject: Make libplist glib free --- src/common.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/common.h (limited to 'src/common.h') 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 @@ +#ifndef COMMON_H +#define COMMON_H + +#define PLIST_LITTLE_ENDIAN 0 +#define PLIST_BIG_ENDIAN 1 + +#if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__CYGWIN__) +# define _PLIST_INTERNAL __attribute__((visibility("hidden"))) +#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) +# define _PLIST_INTERNAL __hidden +#else /* not gcc >= 4 and not Sun Studio >= 8 */ +# define _PLIST_INTERNAL +#endif /* GNUC >= 4 */ + +#endif -- cgit v1.1-32-gdbae