\begin{code}
#ifdef PAR /* whole file */
+#ifndef _AIX
#define NON_POSIX_SOURCE /* so says Solaris */
+#endif
#include "rtsdefs.h"
#include "HLC.h"
\begin{code}
#ifdef PAR /* whole file */
+#ifndef _AIX
#define NON_POSIX_SOURCE /* so says Solaris */
+#endif
#include "rtsdefs.h"
#include <setjmp.h>
\begin{code}
#if defined(GRAN) || defined(PAR)
+#ifndef _AIX
#define NON_POSIX_SOURCE /* gettimeofday */
+#endif
#include "rtsdefs.h"
# include "config.h"
+#if !defined(_AIX)
# define NON_POSIX_SOURCE
+#endif
# include "rtsdefs.h"
/* #define STK_CHK_DEBUG */
#define NULL_REG_MAP
+
+#if !defined(_AIX)
#define NON_POSIX_SOURCE
+#endif
/* Should there be a POSIX alternative based on poll()? */
#include "rtsdefs.h"
# define NON_POSIX_SOURCE
#endif
-#if defined(freebsd_TARGET_OS) || defined(aix_TARGET_OS)
+#if defined(freebsd_TARGET_OS)
# define NON_POSIX_SOURCE
#endif
#if defined(CONCURRENT) /* the whole module! */
+#if !defined(_AIX)
# define NON_POSIX_SOURCE /* so says Solaris */
+#endif
# include "rtsdefs.h"
# include <setjmp.h>
\begin{code}
#if defined(PROFILING) || defined(PAR) || defined(CONCURRENT)
+#if !defined(_AIX)
#define NON_POSIX_SOURCE /* time things on Solaris -- sigh */
#endif
+#endif
#include "rtsdefs.h"
#include <setjmp.h>
*********************************************************************
\begin{code}
+#if !defined(_AIX)
#define NON_POSIX_SOURCE /*needed for solaris2 only?*/
+#endif
/* how is this to work given we have not read platform.h yet? */
#ifdef hpux_TARGET_OS