ref: 8a64f516cb4c545bdf90f10822af4b701909925f
parent: a9aa29d90161e5f4f47fb7b9e1346569f233a562
author: Nico Weber <[email protected]>
date: Fri Aug 7 09:56:47 EDT 2015
clang/win: Make libvpx build with -Wunused-function. BUG=chromium:505316 Change-Id: I1c951eb99fd0487e1bc70ebb2852b981fd69ed8a
--- 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