We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 47c7cd8 commit 138d55fCopy full SHA for 138d55f
src/xrCore/Platform.hpp
@@ -16,8 +16,13 @@
16
# define _WIN32_WINNT 0x0501
17
#endif
18
19
+#ifdef __GNUC__
20
+#define XR_EXPORT __attribute__ ((visibility("default")))
21
+#define XR_IMPORT __attribute__ ((visibility("default")))
22
+#else // _MSC_VER
23
#define XR_EXPORT __declspec(dllexport)
24
#define XR_IMPORT __declspec(dllimport)
25
+#endif
26
27
// inline control - redefine to use compiler's heuristics ONLY
28
// it seems "IC" is misused in many places which cause code-bloat
0 commit comments