diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-27 22:19:41 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-10-27 22:19:41 +0000 |
commit | 13c11698f3d4d2c8df09382c5d60d6532f7ca196 (patch) | |
tree | b0aa45b64b7f0942dccf6dc86fd9af575c3e7b63 /base | |
parent | 6fc47607e2d91897ad5176f5987d12cbab6f92db (diff) | |
download | chromium_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')
-rw-r--r-- | base/port.h | 4 |
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_ |