[project @ 2004-08-13 13:39:29 by simonmar]
authorsimonmar <unknown>
Fri, 13 Aug 2004 13:39:29 +0000 (13:39 +0000)
committersimonmar <unknown>
Fri, 13 Aug 2004 13:39:29 +0000 (13:39 +0000)
forgot to add this file

ghc/rts/PosixSource.h [new file with mode: 0644]

diff --git a/ghc/rts/PosixSource.h b/ghc/rts/PosixSource.h
new file mode 100644 (file)
index 0000000..287760f
--- /dev/null
@@ -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