shithub: libvpx

Download patch

ref: 20d902a3762cafc666c3e122995289c8818cc7c7
parent: 176706706876db0cd51db020c0baa3a3852dc7b0
parent: 8a64f516cb4c545bdf90f10822af4b701909925f
author: Tom Finegan <[email protected]>
date: Mon Aug 10 13:25:32 EDT 2015

Merge "clang/win: Make libvpx build with -Wunused-function."

--- 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