commit | 8a64f516cb4c545bdf90f10822af4b701909925f | [log] [tgz] |
---|---|---|
author | Nico Weber <thakis@chromium.org> | Fri Aug 07 13:56:47 2015 -0700 |
committer | James Zern <jzern@google.com> | Fri Aug 07 21:53:29 2015 +0000 |
tree | ad55717520e12a5cb9d4419520cfdb8f6d36292d | |
parent | a9aa29d90161e5f4f47fb7b9e1346569f233a562 [diff] |
clang/win: Make libvpx build with -Wunused-function. BUG=chromium:505316 Change-Id: I1c951eb99fd0487e1bc70ebb2852b981fd69ed8a
diff --git a/vpx/vpx_codec.h b/vpx/vpx_codec.h index b94e173..b6037bb 100644 --- a/vpx/vpx_codec.h +++ b/vpx/vpx_codec.h
@@ -69,7 +69,7 @@ /*!\brief Decorator indicating a function is potentially unused */ #ifdef UNUSED -#elif __GNUC__ +#elif defined(__GNUC__) || defined(__clang__) #define UNUSED __attribute__ ((unused)) #else #define UNUSED