Changeset 3632


Ignore:
Timestamp:
Aug 6, 2009, 10:36:58 PM (11 years ago)
Author:
Sam Hocevar
Message:

lib-mem.c: undefine various feature macros before redefining them.

File:
1 edited

Legend:

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

    r2574 r3632  
    2727#endif
    2828/* Use this to get mmap64() on glibc systems */
     29#undef _LARGEFILE64_SOURCE
    2930#define _LARGEFILE64_SOURCE
    3031/* Use this to get ENOMEM on HP-UX */
    3132#define _INCLUDE_POSIX_SOURCE
    3233/* Need this to get standard mmap() on OpenSolaris */
     34#undef _POSIX_C_SOURCE
    3335#define _POSIX_C_SOURCE 3
    3436/* Need this to get valloc() on OpenSolaris */
Note: See TracChangeset for help on using the changeset viewer.