summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2016-12-18 09:48:57 -0500
committermidipix <writeonce@midipix.org>2016-12-18 09:48:57 -0500
commit0b6ec00fc89dadc3b584895d66d76dcb7c95e285 (patch)
treec2f7a7d1a4b538aaed04c4b4b956e8c0e12c0f17
parent666e112e6a228c79e707664cdfe34e626cef9438 (diff)
downloadpsxtypes-0b6ec00fc89dadc3b584895d66d76dcb7c95e285.tar.bz2
psxtypes-0b6ec00fc89dadc3b584895d66d76dcb7c95e285.tar.xz
visual studio support: fix visibility definitions.
-rw-r--r--include/psxtypes/compiler/__nt_compiler_msvc.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/psxtypes/compiler/__nt_compiler_msvc.h b/include/psxtypes/compiler/__nt_compiler_msvc.h
index 78aa71d..b441221 100644
--- a/include/psxtypes/compiler/__nt_compiler_msvc.h
+++ b/include/psxtypes/compiler/__nt_compiler_msvc.h
@@ -93,9 +93,9 @@
#define __attr_weak__
#ifdef __PE_VISIBILITY__
-#define __attr_hidden__ __attribute__((visibility("hidden")))
-#define __attr_public__ __attribute__((visibility("default")))
-#define __attr_protected__ __attribute__((visibility("protected")))
+#define __attr_hidden__
+#define __attr_public__
+#define __attr_protected__
#else
#define __attr_hidden__
#define __attr_public__