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

Unified Diff: gpu/gpu_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/gpu_export.h
diff --git a/gpu/gpu_export.h b/gpu/gpu_export.h
index 91f35e2a30911c0c103fd1cdfb5f6f86de7e7579..7bd30a2e8cce059f15891f01368c4b629a1d36f7 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)

Powered by Google App Engine
This is Rietveld 408576698