Overview
Comment: | MorphOS: Do not include unistd.h when using libnix |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
ad2c53e367c797a895aa0fc8f8e5cabb |
User & Date: | js on 2017-05-28 15:23:28 |
Other Links: | manifest | tags |
Context
2017-05-28
| ||
17:45 | Do not set SIGPIPE handler on MorphOS + libnix check-in: 74bcc11aac user: js tags: trunk | |
15:23 | MorphOS: Do not include unistd.h when using libnix check-in: ad2c53e367 user: js tags: trunk | |
13:36 | configure: Add --with-ixemul flag check-in: f1340e44e2 user: js tags: trunk | |
Changes
Modified src/unistd_wrapper.h from [535661bb55] to [892d1c3341].
︙ | ︙ | |||
13 14 15 16 17 18 19 | * file. */ #include "config.h" #include <stdlib.h> /* Make sure we have any libc include */ | > | > | 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 | * file. */ #include "config.h" #include <stdlib.h> /* Make sure we have any libc include */ #import "platform.h" #if defined(HAVE_UNISTD_H) && (!defined(OF_MORPHOS) || defined(OF_IXEMUL)) # ifdef __GLIBC__ # undef __USE_XOPEN /* Needed to avoid old glibc using __block */ # endif # include <unistd.h> # ifdef __GLIBC__ # define __USE_XOPEN 1 # endif #endif |