Only test-compile w32pthreads.h if W32THREADS are available.
authorDiego Biurrun <diego@biurrun.de>
Wed, 19 Oct 2011 21:25:01 +0000 (23:25 +0200)
committerDiego Biurrun <diego@biurrun.de>
Wed, 19 Oct 2011 22:18:29 +0000 (00:18 +0200)
This fixes 'make checkheaders' on non-W32THREADS systems.

libavcodec/Makefile

index a566df2..c47424e 100644 (file)
@@ -670,6 +670,7 @@ SKIPHEADERS-$(CONFIG_LIBSCHROEDINGER)  += libschroedinger.h
 SKIPHEADERS-$(CONFIG_VAAPI)            += vaapi_internal.h
 SKIPHEADERS-$(CONFIG_VDPAU)            += vdpau.h
 SKIPHEADERS-$(CONFIG_XVMC)             += xvmc.h
+SKIPHEADERS-$(HAVE_W32THREADS)         += w32pthreads.h
 
 EXAMPLES = api