This repository has been archived by the owner on Oct 18, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #178 from yomimono/os-type-xen
for compiler version 4.04, set OCAML_OS_TYPE to "xen"
- Loading branch information
Showing
2 changed files
with
11 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
define OCAML_OS_TYPE as "xen". Only a good idea for compiler versions >= 4.04.0. | ||
See https://github.com/mirage/mirage-platform/pull/78/ . | ||
--- config/s.h | ||
+++ config/s.h | ||
@@ -1,4 +1,4 @@ | ||
-#define OCAML_OS_TYPE "Unix" | ||
+#define OCAML_OS_TYPE "xen" | ||
#define OCAML_STDLIB_DIR "/usr/local/lib/ocaml" | ||
#define POSIX_SIGNALS | ||
//#define HAS_GETRUSAGE |