Commit fc350dba authored by John Ericson's avatar John Ericson Committed by Marge Bot
Browse files

Make `PosixSource.h` installed and under `rts/`

is used outside of the rts so we do this rather than just fish it out of
the repo in ad-hoc way, in order to make packages in this repo more
self-contained.
parent db7098fe
......@@ -104,7 +104,7 @@ Std 1003.1) interfaces and APIs. We used to define
<code>POSIX_SOURCE</code> by default, but found that this caused more
problems than it solved, so now we require any code that is
POSIX-compliant to explicitly say so by having <code>#include
"PosixSource.h"</code> at the top. Try to do this whenever possible.
"rts/PosixSource.h"</code> at the top. Try to do this whenever possible.
<p><li> Some architectures have memory alignment constraints. Others
don't have any constraints but go faster if you align things. These
......
......@@ -21,7 +21,7 @@
#endif
/* select and supporting types is not Posix */
/* #include "PosixSource.h" */
/* #include "rts/PosixSource.h" */
#include "Rts.h"
#include <limits.h>
#include <stdbool.h>
......
#include "../rts/PosixSource.h"
#include "Rts.h"
#include <rts/PosixSource.h>
#include <Rts.h>
#include "HsFFI.h"
#include <HsFFI.h>
int main (int argc, char *argv[])
{
......
......@@ -18,7 +18,7 @@
which most allocations are small.
-------------------------------------------------------------------------- */
#include "PosixSource.h"
#include "rts/PosixSource.h"
#include "Rts.h"
#include "RtsUtils.h"
......
......@@ -16,7 +16,7 @@
*
* --------------------------------------------------------------------------*/
#include "PosixSource.h"
#include "rts/PosixSource.h"
#include "Rts.h"
#include "Capability.h"
......
......@@ -8,7 +8,7 @@
*
* --------------------------------------------------------------------------*/
#include "PosixSource.h"
#include "rts/PosixSource.h"
#include "Rts.h"
#include "RtsUtils.h"
......
......@@ -6,7 +6,7 @@
*
* ---------------------------------------------------------------------------*/
#include "PosixSource.h"
#include "rts/PosixSource.h"
#include "Rts.h"
StgWord16 closure_flags[] = {
......
......@@ -10,7 +10,7 @@
#if defined(DEBUG)
#include "PosixSource.h"
#include "rts/PosixSource.h"
#include "Rts.h"
#include "RtsAPI.h"
#include "rts/Bytecodes.h"
......
......@@ -6,7 +6,7 @@
*
* ---------------------------------------------------------------------------*/
#include "PosixSource.h"
#include "rts/PosixSource.h"
#include "Rts.h"
#include "FileLock.h"
......
......@@ -17,7 +17,7 @@
*
* ---------------------------------------------------------------------------*/
#include "PosixSource.h"
#include "rts/PosixSource.h"
#include "Rts.h"
#include "Globals.h"
......
......@@ -8,7 +8,7 @@
* pp. 446 -- 457.
* -------------------------------------------------------------------------- */
#include "PosixSource.h"
#include "rts/PosixSource.h"
#include "Rts.h"
#include "Hash.h"
......
......@@ -2,7 +2,7 @@
* (c)2006 Galois Connections, Inc.
*/
#include "PosixSource.h"
#include "rts/PosixSource.h"
#include "Rts.h"
#include "Trace.h"
......
......@@ -6,7 +6,7 @@
*
* ---------------------------------------------------------------------------*/
#include "PosixSource.h"
#include "rts/PosixSource.h"
#include "HsFFI.h"
#include "Rts.h"
......
......@@ -7,7 +7,7 @@
* ---------------------------------------------------------------------------*/
#include "PosixSource.h"
#include "rts/PosixSource.h"
#include "Rts.h"
#include "RtsUtils.h"
......
......@@ -2,7 +2,7 @@
// compiled for real here, just in case the definition was not inlined
// at some call site:
#define KEEP_INLINES
#include "PosixSource.h"
#include "rts/PosixSource.h"
#include "Rts.h"
#include "Schedule.h"
#include "Capability.h"
......
......@@ -5,7 +5,7 @@
* ---------------------------------------------------------------------------*/
#include "PosixSource.h"
#include "rts/PosixSource.h"
#include "Rts.h"
#include "RtsAPI.h"
#include "rts/Bytecodes.h"
......
......@@ -9,7 +9,7 @@
#if defined(PROFILING)
#include "PosixSource.h"
#include "rts/PosixSource.h"
#include "Rts.h"
#include "Profiling.h"
......
......@@ -7,7 +7,7 @@
* ---------------------------------------------------------------------------*/
#if 0
#include "PosixSource.h"
#include "rts/PosixSource.h"
#endif
#include "Rts.h"
......
......@@ -13,7 +13,7 @@
*
* -------------------------------------------------------------------------- */
#include "PosixSource.h"
#include "rts/PosixSource.h"
#include "Rts.h"
#if defined(HAVE_SCHED_H)
......
Supports Markdown
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