fixed darwin compilation
[deb_libcec.git] / 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