# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1628552183 0 # Node ID 4d1bcfc617b221a1bbe1565af79541c9906daf23 # Parent 3d20fcfd8583229570f53d3f4b40c99e83e19440 iOS/Android: Since these don't use autoconf, define HAVE_DIRENT_H. This allows iOS and Android to import opendir() and friends. diff -r 3d20fcfd8583 -r 4d1bcfc617b2 dwcompat.h --- 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 */