diff dwcompat.h @ 2634:4d1bcfc617b2

iOS/Android: Since these don't use autoconf, define HAVE_DIRENT_H. This allows iOS and Android to import opendir() and friends.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Mon, 09 Aug 2021 23:36:23 +0000
parents 736282fddac5
children 038f83009cdb
line wrap: on
line diff
--- a/dwcompat.h	Mon Aug 09 22:07:54 2021 +0000
+++ b/dwcompat.h	Mon Aug 09 23:36:23 2021 +0000
@@ -8,6 +8,8 @@
 /* iOS and Android currently don't use autoconf */
 #if !defined(__IOS__) && !defined(__ANDROID__)
 #include "dwconfig.h"
+#else
+#define HAVE_DIRENT_H 1
 #endif
 
 /* Attempt to include 64 bit file functions on various unix flavors */