diff options
author | Nikias Bassen | 2011-09-11 01:03:09 +0200 |
---|---|---|
committer | Nikias Bassen | 2011-09-11 01:03:09 +0200 |
commit | 13ecca44eefd367354070a22dec7c0829e1ba6fd (patch) | |
tree | ca2296d42b551d31bf5709897f877da5e4df0128 /src/common.h | |
parent | 2141a60a45ddc959a2df97bf28478c699924e94d (diff) | |
download | libplist-13ecca44eefd367354070a22dec7c0829e1ba6fd.tar.gz libplist-13ecca44eefd367354070a22dec7c0829e1ba6fd.tar.bz2 |
Win32: do not use visibility attribute
Diffstat (limited to 'src/common.h')
-rw-r--r-- | src/common.h | 2 |
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 |