Fix build on Windows targets without dxgi.h, like MingW32.

This commit is contained in:
Ryan C. Gordon 2014-05-06 00:13:07 -04:00
parent 7528f94ca5
commit 2a7aa9bde8
7 changed files with 24 additions and 3 deletions

View file

@ -48,6 +48,8 @@
#cmakedefine HAVE_GCC_SYNC_LOCK_TEST_AND_SET @HAVE_GCC_SYNC_LOCK_TEST_AND_SET@
#cmakedefine HAVE_PTHREAD_SPINLOCK @HAVE_PTHREAD_SPINLOCK@
#cmakedefine HAVE_DXGI_H @HAVE_DXGI_H@
/* Comment this if you want to build without any C library requirements */
#cmakedefine HAVE_LIBC 1
#if HAVE_LIBC