summaryrefslogtreecommitdiffstats
path: root/base
diff options
context:
space:
mode:
authorphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 18:30:28 +0000
committerphajdan.jr@chromium.org <phajdan.jr@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2008-12-17 18:30:28 +0000
commit85e0f1fca446a4b3e416ef076a38110834c06ffd (patch)
treef254ebd83222e21ed959879032c81915306da89a /base
parent64ff794b6d3a16124b33a7e1741d752770d84a70 (diff)
downloadchromium_src-85e0f1fca446a4b3e416ef076a38110834c06ffd.zip
chromium_src-85e0f1fca446a4b3e416ef076a38110834c06ffd.tar.gz
chromium_src-85e0f1fca446a4b3e416ef076a38110834c06ffd.tar.bz2
Platform cleanup in browser/ and porting of few files.
Review URL: http://codereview.chromium.org/14466 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@7142 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'base')
-rw-r--r--base/compiler_specific.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/base/compiler_specific.h b/base/compiler_specific.h
index 11777fb..50dc6f3 100644
--- a/base/compiler_specific.h
+++ b/base/compiler_specific.h
@@ -67,8 +67,10 @@
#if defined(COMPILER_GCC)
+#define ALLOW_UNUSED __attribute__((unused))
#define WARN_UNUSED_RESULT __attribute__((warn_unused_result))
#else // Not GCC
+#define ALLOW_UNUSED
#define WARN_UNUSED_RESULT
#endif