From: simonmar Date: Fri, 13 Aug 2004 13:39:29 +0000 (+0000) Subject: [project @ 2004-08-13 13:39:29 by simonmar] X-Git-Tag: Initial_conversion_from_CVS_complete~1743 X-Git-Url: http://git.megacz.com/?p=ghc-hetmet.git;a=commitdiff_plain;h=6a5ea4c513a58d733e8b109943dbf07038e08b02 [project @ 2004-08-13 13:39:29 by simonmar] forgot to add this file --- 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