comparison 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
comparison
equal deleted inserted replaced
2548:c4d75d30430c 2549:736282fddac5
2 2
3 #ifndef _DWCOMPAT_H 3 #ifndef _DWCOMPAT_H
4 #define _DWCOMPAT_H 4 #define _DWCOMPAT_H
5 5
6 /* This header includes and defines everything needed for a given OS/compiler */ 6 /* This header includes and defines everything needed for a given OS/compiler */
7 #if defined(__UNIX__) || defined(__MAC__) || defined(__IOS__) 7 #if defined(__UNIX__) || defined(__MAC__) || defined(__IOS__) || defined(__ANDROID__)
8 #ifndef __IOS__ 8 /* iOS and Android currently don't use autoconf */
9 #if !defined(__IOS__) && !defined(__ANDROID__)
9 #include "dwconfig.h" 10 #include "dwconfig.h"
10 #endif 11 #endif
11 12
12 /* Attempt to include 64 bit file functions on various unix flavors */ 13 /* Attempt to include 64 bit file functions on various unix flavors */
13 #ifndef _FILE_OFFSET_BITS 14 #ifndef _FILE_OFFSET_BITS