Index: gpu/command_buffer/client/gles2_c_lib_export.h |
diff --git a/gpu/command_buffer/client/gles2_c_lib_export.h b/gpu/command_buffer/client/gles2_c_lib_export.h |
index bccad52ce818c20970c32707ae4b2d03aa139cf4..bb401e5d0d98e239902b81d39d59ecf394529549 100644 |
--- a/gpu/command_buffer/client/gles2_c_lib_export.h |
+++ b/gpu/command_buffer/client/gles2_c_lib_export.h |
@@ -16,7 +16,11 @@ |
#endif // defined(GLES2_C_LIB_IMPLEMENTATION) |
#else // defined(WIN32) |
+#if defined(GLES2_C_LIB_IMPLEMENTATION) |
#define GLES2_C_LIB_EXPORT __attribute__((visibility("default"))) |
+#else |
+#define GLES2_C_LIB_EXPORT |
+#endif |
#endif |
#else // defined(COMPONENT_BUILD) |