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

Unified Diff: rlz/lib/rlz_enums.h

Issue 2857343004: Add rlz_utils as a new build target to rlz/ (Closed)
Patch Set: Move RLZ_LIB_API to shared rlz_enums.h Created 3 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: rlz/lib/rlz_enums.h
diff --git a/rlz/lib/rlz_enums.h b/rlz/lib/rlz_enums.h
index e976f86a7c136aa2eba35fb61117a67bd07255a1..51b6f8d36ba9f9d2d51e37569d3877010235f02a 100644
--- a/rlz/lib/rlz_enums.h
+++ b/rlz/lib/rlz_enums.h
@@ -5,6 +5,12 @@
#ifndef RLZ_LIB_RLZ_ENUMS_H_
#define RLZ_LIB_RLZ_ENUMS_H_
+#if defined(OS_WIN)
+#define RLZ_LIB_API __cdecl
+#else
+#define RLZ_LIB_API
+#endif
+
Roger Tawa OOO till Jul 10th 2017/05/05 15:31:29 I see why you did this, but it is sub optimal. Th
Yusuf 2017/05/05 17:14:58 Got it. I had them duplicated, then win_clang bui
namespace rlz_lib {
// An Access Point offers a way to search using Google.

Powered by Google App Engine
This is Rietveld 408576698