Prepare Mono for Android NDK with unified headers (#5680)
[mono.git] / mono / utils / mono-complex.h
index b7488c7cf5214036b9720920751de1634391cce4..385eee9b1592d5fd88e81f0c161dff4783879948 100644 (file)
@@ -12,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>