comparison dwcompat.h @ 2636:038f83009cdb

iOS/Android: With no autoconf #define HAVE_PIPE, Android and iOS should have it access to pipe(). iOS was failing to use the domain socket or loopback socket fallback, so make sure we are using pipe().
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Wed, 11 Aug 2021 20:32:13 +0000
parents 4d1bcfc617b2
children 45a6b33a003a
comparison
equal deleted inserted replaced
2635:3ec675648cf5 2636:038f83009cdb
8 /* iOS and Android currently don't use autoconf */ 8 /* iOS and Android currently don't use autoconf */
9 #if !defined(__IOS__) && !defined(__ANDROID__) 9 #if !defined(__IOS__) && !defined(__ANDROID__)
10 #include "dwconfig.h" 10 #include "dwconfig.h"
11 #else 11 #else
12 #define HAVE_DIRENT_H 1 12 #define HAVE_DIRENT_H 1
13 #define HAVE_PIPE 1
13 #endif 14 #endif
14 15
15 /* Attempt to include 64 bit file functions on various unix flavors */ 16 /* Attempt to include 64 bit file functions on various unix flavors */
16 #ifndef _FILE_OFFSET_BITS 17 #ifndef _FILE_OFFSET_BITS
17 #define _FILE_OFFSET_BITS 64 18 #define _FILE_OFFSET_BITS 64