summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2011-09-11 01:03:09 +0200
committerGravatar Nikias Bassen2011-09-11 01:03:09 +0200
commit13ecca44eefd367354070a22dec7c0829e1ba6fd (patch)
treeca2296d42b551d31bf5709897f877da5e4df0128
parent2141a60a45ddc959a2df97bf28478c699924e94d (diff)
downloadlibplist-13ecca44eefd367354070a22dec7c0829e1ba6fd.tar.gz
libplist-13ecca44eefd367354070a22dec7c0829e1ba6fd.tar.bz2
Win32: do not use visibility attribute
-rw-r--r--src/common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common.h b/src/common.h
index 4f16df7..e044cbb 100644
--- a/src/common.h
+++ b/src/common.h
@@ -4,7 +4,7 @@
#define PLIST_LITTLE_ENDIAN 0
#define PLIST_BIG_ENDIAN 1
-#if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__CYGWIN__)
+#if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__CYGWIN__) && !defined(WIN32)
# define _PLIST_INTERNAL __attribute__((visibility("hidden")))
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
# define _PLIST_INTERNAL __hidden