archie/prospero/include/solaris_stdlib.h

18 lines
382 B
C
Raw Normal View History

2024-05-27 16:13:40 +02:00
/* This is for SOLARIS, but may be usefull elsewhere */
/* SOLARIS and GCC conspire to exclude putenv */
#ifdef _XOPEN_SOURCE
#define OLD_XOPEN_SOURCE _XOPEN_SOURCE
#else
#undef OLD_XOPEN_SOURCE
#endif
#define _XOPEN_SOURCE 1
#include "/usr/include/stdlib.h"
#ifdef OLD_XOPEN_SOURCE
#define _XOPEN_SOURCE OLD_XOPEN_SOURCE
#undef OLD_XOPEN_SOURCE
#else
#undef _XOPEN_SOURCE
#endif