Changeset 2556 for zzuf/trunk


Ignore:
Timestamp:
Jul 16, 2008, 11:45:44 PM (12 years ago)
Author:
Sam Hocevar
Message:
  • lib-mem.c: add pre-include macros to get mmap and valloc on OpenSolaris?.
File:
1 edited

Legend:

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

    r2530 r2556  
    2727/* Use this to get ENOMEM on HP-UX */
    2828#define _INCLUDE_POSIX_SOURCE
     29/* Need this to get standard mmap() on OpenSolaris */
     30#define _POSIX_C_SOURCE 3
     31/* Need this to get valloc() on OpenSolaris */
     32#define __EXTENSIONS__
    2933/* Use this to get posix_memalign */
    3034#if defined HAVE_POSIX_MEMALIGN
Note: See TracChangeset for help on using the changeset viewer.