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

Unified Diff: base/base_api.h

Issue 7240021: net: Add NET_API for some linux-only files (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 6 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 | crypto/crypto_api.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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
« no previous file with comments | « no previous file | crypto/crypto_api.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698