Differences From Artifact [867ccc3495]:
- File src/OFFile.m — part of check-in [1287e77e04] at 2017-05-22 23:31:26 on branch trunk — Make includes of unistd.h and fcntl.h conditional (user: js, size: 6682) [annotate] [blame] [check-ins using]
To Artifact [cf06285f59]:
- File src/OFFile.m — part of check-in [ec36a82d68] at 2017-05-27 10:08:11 on branch trunk — Make things work with glibc 2.17 and Clang 3.4.2 (user: js, size: 6825) [annotate] [blame] [check-ins using]
︙ | |||
18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 | 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 | + + + + + + | #include <errno.h> #ifdef HAVE_FCNTL_H # include <fcntl.h> #endif #ifdef HAVE_UNISTD_H # ifdef __GLIBC__ # undef __USE_XOPEN /* Needed to avoid old glibc using __block */ # endif # include <unistd.h> # ifdef __GLIBC__ # define __USE_XOPEN 1 # endif #endif #include "platform.h" #ifdef OF_WII # define BOOL OGC_BOOL # include <fat.h> |
︙ |