ObjFW  Diff

Differences From Artifact [535661bb55]:

To Artifact [892d1c3341]:


13
14
15
16
17
18
19

20

21
22
23
24
25
26
27
28
 * file.
 */

#include "config.h"

#include <stdlib.h>	/* Make sure we have any libc include */


#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







>
|
>








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