Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(858)

Unified Diff: gpu/command_buffer/common/gles2_utils_export.h

Issue 10386108: Change the way _EXPORT macros look. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: cros Created 8 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: gpu/command_buffer/common/gles2_utils_export.h
diff --git a/gpu/command_buffer/common/gles2_utils_export.h b/gpu/command_buffer/common/gles2_utils_export.h
index 4031e2ea63c7be5e1e4a251065b34f11448f77b6..e45851448f3193f1c18b0c01c502738c3ad135e4 100644
--- a/gpu/command_buffer/common/gles2_utils_export.h
+++ b/gpu/command_buffer/common/gles2_utils_export.h
@@ -16,7 +16,11 @@
#endif // defined(GLES2_UTILS_IMPLEMENTATION)
#else // defined(WIN32)
+#if defined(GLES2_UTILS_IMPLEMENTATION)
#define GLES2_UTILS_EXPORT __attribute__((visibility("default")))
+#else
+#define GLES2_UTILS_EXPORT
+#endif
#endif
#else // defined(COMPONENT_BUILD)

Powered by Google App Engine
This is Rietveld 408576698