Changeset 1917

Show
Ignore:
Timestamp:
08/15/2007 12:01:37 PM (12 months ago)
Author:
jan
Message:

removed define of _XOPEN_SOURCE 500 (fixes #1240 and #1251)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/src/network_gthread_aio.c

    r1844 r1917  
    11/** 
    2  * - pread() needs _XOPEN_SOURCE 
    32 * - MAP_ANON needs _BSD_SOURCE | _SVID_SOURCE 
     3 * - pread() needs _XOPEN_SOURCE 500 on Linux  
     4 * - _XOPEN_SOURCE breaks the compile on FreeBSD (see #1240, #1251) 
    45 * 
    5  * a _GNU_SOURCE combines them all, set it externally and we are fine 
    66 */ 
    77#ifndef _GNU_SOURCE 
    8 # ifndef _XOPEN_SOURCE 
    9 #  define _XOPEN_SOURCE 500 
    10 # endif 
    118# ifndef _BSD_SOURCE 
    129#  define _BSD_SOURCE 1