Changeset 4286


Ignore:
Timestamp:
Jan 21, 2010, 2:17:01 AM (8 years ago)
Author:
Sam Hocevar
Message:

Fix compilation warnings and errors on OpenSolaris? caused by a few of
our source feature macros.

Location:
zzuf/trunk/src
Files:
2 edited

Legend:

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

    r4282 r4286  
    3737#define _DARWIN_C_SOURCE
    3838/* Use this to get posix_memalign */
    39 #if defined HAVE_POSIX_MEMALIGN
     39#if defined HAVE_POSIX_MEMALIGN && !defined __sun
    4040#   undef _XOPEN_SOURCE
    4141#   define _XOPEN_SOURCE 600
  • zzuf/trunk/src/zzcat.c

    r4278 r4286  
    2323/* Needed for fgets_unlocked() */
    2424#define _GNU_SOURCE
     25/* Needed for getc_unlocked() on OpenSolaris */
     26#define __EXTENSIONS__
    2527
    2628#if defined HAVE_STDINT_H
Note: See TracChangeset for help on using the changeset viewer.