diff options
Diffstat (limited to 'ui/surface/surface_export.h')
-rw-r--r-- | ui/surface/surface_export.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/ui/surface/surface_export.h b/ui/surface/surface_export.h index 1b2164e..0a01670 100644 --- a/ui/surface/surface_export.h +++ b/ui/surface/surface_export.h @@ -16,7 +16,11 @@ #endif // defined(SURFACE_IMPLEMENTATION) #else // defined(WIN32) +#if defined(SURFACE_IMPLEMENTATION) #define SURFACE_EXPORT __attribute__((visibility("default"))) +#else +#define SURFACE_EXPORT +#endif #endif #else // defined(COMPONENT_BUILD) |