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

Unified Diff: base/port.h

Issue 8805: fix linux build by making sure APICALL is defined on (Closed)
Patch Set: whitespace Created 12 years, 2 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/port.h
diff --git a/base/port.h b/base/port.h
index 9681ce863112047761ca5d4bc2a5d53f7b731054..349b1176344dde1a2b29af2e08b8c8cb30f7b97b 100644
--- a/base/port.h
+++ b/base/port.h
@@ -56,10 +56,10 @@ inline void va_copy(va_list& a, va_list& b) {
#define DYNAMIC_EXPORT __declspec(dllexport)
#elif defined(OS_MACOSX)
#define DYNAMIC_EXPORT __attribute__((visibility("default")))
+#define API_CALL
#elif defined(OS_LINUX)
#define DYNAMIC_EXPORT
-#elif defined(OS_POSIX)
-#define API_CALL
+#define API_CALL
#endif
#endif // BASE_PORT_H_
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698