From 6a5ea4c513a58d733e8b109943dbf07038e08b02 Mon Sep 17 00:00:00 2001 From: simonmar Date: Fri, 13 Aug 2004 13:39:29 +0000 Subject: [PATCH] [project @ 2004-08-13 13:39:29 by simonmar] forgot to add this file --- ghc/rts/PosixSource.h | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 ghc/rts/PosixSource.h diff --git a/ghc/rts/PosixSource.h b/ghc/rts/PosixSource.h new file mode 100644 index 0000000..287760f --- /dev/null +++ b/ghc/rts/PosixSource.h @@ -0,0 +1,18 @@ +/* ----------------------------------------------------------------------------- + * + * (c) The GHC Team, 1998-2004 + * + * Include this file into sources which should not need any non-Posix services. + * That includes most RTS C sources. + * ---------------------------------------------------------------------------*/ + +#ifndef POSIXSOURCE_H +#define POSIXSOURCE_H + +#define _POSIX_SOURCE 1 +#define _POSIX_C_SOURCE 199506L +#define _ISOC9X_SOURCE + +/* Let's be ISO C9X too... */ + +#endif -- 1.7.10.4