fixed darwin compilation
authorLars Op den Kamp <lars@opdenkamp.eu>
Tue, 9 Oct 2012 11:05:29 +0000 (13:05 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Tue, 9 Oct 2012 11:08:29 +0000 (13:08 +0200)
configure.ac

index 967699255c51c1085d056f5f7276cb4f5061b6dc..d3b17e96b98aaa7932331f8a5b37732e20f403a5 100644 (file)
@@ -207,6 +207,7 @@ case "${host}" in
   *-apple-darwin*)
     AC_CHECK_HEADER(mach/mach_time.h,,AC_MSG_ERROR($msg_required_header_missing))
     AC_CHECK_HEADER(CoreVideo/CVHostTime.h,,AC_MSG_ERROR($msg_required_header_missing))
+    AC_DEFINE([TARGET_DARWIN], [1], [Darwin target])
     ;;
 esac