Chromium Code Reviews| Index: base/base_api.h |
| =================================================================== |
| --- base/base_api.h (revision 90330) |
| +++ base/base_api.h (working copy) |
| @@ -8,15 +8,18 @@ |
| #if defined(BASE_DLL) |
| #if defined(WIN32) |
| + |
| #if defined(BASE_IMPLEMENTATION) |
| #define BASE_API __declspec(dllexport) |
| #else |
| #define BASE_API __declspec(dllimport) |
| #endif // defined(BASE_IMPLEMENTATION) |
| -#else |
| + |
| +#else // defined(WIN32) |
| #define BASE_API __attribute__((visibility("default"))) |
| -#endif // defined(WIN32) |
| -#else |
| +#endif |
| + |
|
wtc
2011/06/24 23:18:48
These blank lines don't work for me either, so ple
rvargas (doing something else)
2011/06/24 23:27:58
Actually the lines help me (although they look wei
wtc
2011/06/24 23:44:19
OK! :-)
I'm afraid that only indentation would wo
rvargas (doing something else)
2011/06/25 01:16:45
yes, indenting will be the most clear, but we don'
brettw
2011/06/30 21:17:33
We don't normally do the indenting. I think in thi
|
| +#else // defined(BASE_DLL) |
| #define BASE_API |
| #endif |