summaryrefslogtreecommitdiffstats
path: root/base/port.h
diff options
context:
space:
mode:
authortc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-27 22:19:41 +0000
committertc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-10-27 22:19:41 +0000
commit13c11698f3d4d2c8df09382c5d60d6532f7ca196 (patch)
treeb0aa45b64b7f0942dccf6dc86fd9af575c3e7b63 /base/port.h
parent6fc47607e2d91897ad5176f5987d12cbab6f92db (diff)
downloadchromium_src-13c11698f3d4d2c8df09382c5d60d6532f7ca196.zip
chromium_src-13c11698f3d4d2c8df09382c5d60d6532f7ca196.tar.gz
chromium_src-13c11698f3d4d2c8df09382c5d60d6532f7ca196.tar.bz2
fix linux build by making sure APICALL is defined on
all platforms TBR=jeremy Review URL: http://codereview.chromium.org/8805 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@4028 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base/port.h')
-rw-r--r--base/port.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/base/port.h b/base/port.h
index 9681ce8..349b117 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_