Changeset 10275


Ignore:
Timestamp:
Feb 23, 2010, 6:15:47 AM (12 years ago)
Author:
charles
Message:

(trunk libT) try to make the posix_memalign() #includes work right on Darwin too

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/libtransmission/utils.c

    r10274 r10275  
    2222
    2323#if defined(HAVE_POSIX_MEMALIGN) || defined(HAVE_VALLOC)
    24  #define _XOPEN_SOURCE 600 /* pick posix_memalign and valloc declarations */
     24 #if !defined(SYS_DARWIN)
     25  #define _XOPEN_SOURCE 600 /* pick posix_memalign and valloc declarations */
     26 #endif
    2527#endif
    2628
Note: See TracChangeset for help on using the changeset viewer.