Changeset 2574


Ignore:
Timestamp:
Jul 20, 2008, 12:10:31 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • lib-mem.c: with all the preprocessor crap that we now have in C files, libc.h no longer cleanly includes on OS X and we need more preprocessor crap to fix it. Adding _DARWIN_C_SOURCE.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/lib-mem.c

    r2565 r2574  
    3434/* Need this to get valloc() on OpenSolaris */
    3535#define __EXTENSIONS__
     36/* Need this to include <libc.h> on OS X */
     37#define _DARWIN_C_SOURCE
    3638/* Use this to get posix_memalign */
    3739#if defined HAVE_POSIX_MEMALIGN
Note: See TracChangeset for help on using the changeset viewer.