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

Unified Diff: base/port.h

Issue 8160: Enable stats_tabe_unittest.cc on OS X. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' 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
Index: base/port.h
===================================================================
--- base/port.h (revision 4007)
+++ base/port.h (working copy)
@@ -54,9 +54,12 @@
#if defined(OS_WIN)
#define API_CALL __stdcall
#define DYNAMIC_EXPORT __declspec(dllexport)
+#elif defined(OS_MACOSX)
+#define DYNAMIC_EXPORT __attribute__((visibility("default")))
+#elif defined(OS_LINUX)
+#define DYNAMIC_EXPORT
#elif defined(OS_POSIX)
#define API_CALL
-#define DYNAMIC_EXPORT
#endif
#endif // BASE_PORT_H_
« no previous file with comments | « base/multiprocess_test.h ('k') | base/process_util_mac.mm » ('j') | base/process_util_mac.mm » ('J')

Powered by Google App Engine
This is Rietveld 408576698