diff dwcompat.h @ 2549:736282fddac5

Android: Get dwcompat building on Android. Had to disable the filesystem functions for now.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Fri, 14 May 2021 12:13:29 +0000
parents a126b04b9996
children 4d1bcfc617b2
line wrap: on
line diff
--- a/dwcompat.h	Fri May 14 11:41:31 2021 +0000
+++ b/dwcompat.h	Fri May 14 12:13:29 2021 +0000
@@ -4,8 +4,9 @@
 #define _DWCOMPAT_H
 
 /* This header includes and defines everything needed for a given OS/compiler */
-#if defined(__UNIX__) || defined(__MAC__) || defined(__IOS__)
-#ifndef __IOS__
+#if defined(__UNIX__) || defined(__MAC__) || defined(__IOS__) || defined(__ANDROID__)
+/* iOS and Android currently don't use autoconf */
+#if !defined(__IOS__) && !defined(__ANDROID__)
 #include "dwconfig.h"
 #endif