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

Unified Diff: base/base_api.h

Issue 7344022: Add COMPONENT_BUILD global define. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 5 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
« no previous file with comments | « base/base.gypi ('k') | base/debug/debug_on_start_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/base_api.h
===================================================================
--- base/base_api.h (revision 92373)
+++ base/base_api.h (working copy)
@@ -6,7 +6,7 @@
#define BASE_BASE_API_H_
#pragma once
-#if defined(BASE_DLL)
+#if defined(COMPONENT_BUILD)
#if defined(WIN32)
#if defined(BASE_IMPLEMENTATION)
@@ -19,7 +19,7 @@
#define BASE_API __attribute__((visibility("default")))
#endif
-#else // defined(BASE_DLL)
+#else // defined(COMPONENT_BUILD)
#define BASE_API
#endif
« no previous file with comments | « base/base.gypi ('k') | base/debug/debug_on_start_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698