Prepare Mono for Android NDK with unified headers (#5680)
[mono.git] / mono / utils / mono-complex.h
index af13bf62b982d00032f425312560f2312d5a505a..385eee9b1592d5fd88e81f0c161dff4783879948 100644 (file)
@@ -1,5 +1,6 @@
-/*
-* mono-complex.h: C99 Complex math cross-platform support code
+/**
+ * \file
+* C99 Complex math cross-platform support code
 *
 * Author:
 *      Joao Matos (joao.matos@xamarin.com)
@@ -11,7 +12,7 @@
 #include <config.h>
 #include <glib.h>
 
-#if !defined (HAVE_COMPLEX_H)
+#if !defined (HAVE_COMPLEX_H) || (defined (ANDROID_UNIFIED_HEADERS) && __ANDROID_API__ < 23)
 #include <../../support/libm/complex.h>
 #else
 #include <complex.h>