comparison dwcompat.h @ 2385:a126b04b9996

iOS: dwcompat now builds on iOS as well... Fixes for running dwtest.
author bsmith@81767d24-ef19-dc11-ae90-00e081727c95
date Tue, 23 Mar 2021 20:02:07 +0000
parents 471cdeaef7ac
children 736282fddac5
comparison
equal deleted inserted replaced
2384:32ebd33be56b 2385:a126b04b9996
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__) 7 #if defined(__UNIX__) || defined(__MAC__) || defined(__IOS__)
8 #ifndef __IOS__
8 #include "dwconfig.h" 9 #include "dwconfig.h"
10 #endif
9 11
10 /* Attempt to include 64 bit file functions on various unix flavors */ 12 /* Attempt to include 64 bit file functions on various unix flavors */
11 #ifndef _FILE_OFFSET_BITS 13 #ifndef _FILE_OFFSET_BITS
12 #define _FILE_OFFSET_BITS 64 14 #define _FILE_OFFSET_BITS 64
13 #endif 15 #endif