Commit f1a9f8b5 authored by andre's avatar andre

[project @ 1997-07-07 15:18:25 by andre]

RS6000 prof/conc patches
parent d52a9a6b
......@@ -11,7 +11,9 @@
\begin{code}
#ifdef PAR /* whole file */
#ifndef _AIX
#define NON_POSIX_SOURCE /* so says Solaris */
#endif
#include "rtsdefs.h"
#include "HLC.h"
......
......@@ -11,7 +11,9 @@
\begin{code}
#ifdef PAR /* whole file */
#ifndef _AIX
#define NON_POSIX_SOURCE /* so says Solaris */
#endif
#include "rtsdefs.h"
#include <setjmp.h>
......
......@@ -20,7 +20,9 @@ which should be <= the length of a word in bits. -- HWL
\begin{code}
#if defined(GRAN) || defined(PAR)
#ifndef _AIX
#define NON_POSIX_SOURCE /* gettimeofday */
#endif
#include "rtsdefs.h"
......
......@@ -24,7 +24,9 @@ to support. So much for standards.
# include "config.h"
#if !defined(_AIX)
# define NON_POSIX_SOURCE
#endif
# include "rtsdefs.h"
......
......@@ -16,7 +16,10 @@ Handling of select() of read&write on file descriptors or timer expiry.
/* #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"
......
......@@ -31,7 +31,7 @@ much pain.
# define NON_POSIX_SOURCE
#endif
#if defined(freebsd_TARGET_OS) || defined(aix_TARGET_OS)
#if defined(freebsd_TARGET_OS)
# define NON_POSIX_SOURCE
#endif
......
......@@ -26,7 +26,9 @@
#if defined(CONCURRENT) /* the whole module! */
#if !defined(_AIX)
# define NON_POSIX_SOURCE /* so says Solaris */
#endif
# include "rtsdefs.h"
# include <setjmp.h>
......
......@@ -6,8 +6,10 @@
\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>
......
......@@ -13,7 +13,9 @@ stat_exit
*********************************************************************
\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
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment