diff options
Diffstat (limited to 'ui/gl/gl_export.h')
-rw-r--r-- | ui/gl/gl_export.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/gl/gl_export.h b/ui/gl/gl_export.h index 30e6979..d8d4d42 100644 --- a/ui/gl/gl_export.h +++ b/ui/gl/gl_export.h @@ -16,7 +16,11 @@ #endif // defined(GL_IMPLEMENTATION) #else // defined(WIN32) +#if defined(GL_IMPLEMENTATION) #define GL_EXPORT __attribute__((visibility("default"))) +#else +#define GL_EXPORT +#endif #endif #else // defined(COMPONENT_BUILD) |