Changeset 523 for trunk/src


Ignore:
Timestamp:
Apr 6, 2017, 7:03:31 PM (8 years ago)
Author:
katerina
Message:

Fix for ticket #418 (compile error on Solaris 11).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/slib.c

    r481 r523  
    22
    33#if defined(HAVE_POSIX_FADVISE) && defined(HAVE_MINCORE)
     4
     5#if defined(__sun) || defined(__sun__) || defined(sun)
     6#define _XOPEN_SOURCE 500
     7#else
    48#define _XOPEN_SOURCE 600
     9#endif
     10
    511#define _BSD_SOURCE
    612#endif
Note: See TracChangeset for help on using the changeset viewer.