diff options
Diffstat (limited to 'gpu/gpu_export.h')
-rw-r--r-- | gpu/gpu_export.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gpu/gpu_export.h b/gpu/gpu_export.h index 91f35e2..7bd30a2 100644 --- a/gpu/gpu_export.h +++ b/gpu/gpu_export.h @@ -16,7 +16,11 @@ #endif // defined(GPU_IMPLEMENTATION) #else // defined(WIN32) +#if defined(GPU_IMPLEMENTATION) #define GPU_EXPORT __attribute__((visibility("default"))) +#else +#define GPU_EXPORT +#endif #endif #else // defined(COMPONENT_BUILD) |