Mercurial > dwindows
diff 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 |
line wrap: on
line diff
--- a/dwcompat.h Sun Mar 21 22:48:28 2021 +0000 +++ b/dwcompat.h Tue Mar 23 20:02:07 2021 +0000 @@ -4,8 +4,10 @@ #define _DWCOMPAT_H /* This header includes and defines everything needed for a given OS/compiler */ -#if defined(__UNIX__) || defined(__MAC__) +#if defined(__UNIX__) || defined(__MAC__) || defined(__IOS__) +#ifndef __IOS__ #include "dwconfig.h" +#endif /* Attempt to include 64 bit file functions on various unix flavors */ #ifndef _FILE_OFFSET_BITS