Skip to content
This repository has been archived by the owner on Oct 18, 2020. It is now read-only.

Commit

Permalink
xen: set Sys.os_type to "Unix" instead of "xen"
Browse files Browse the repository at this point in the history
The stdlib Filename module calls 'assert false' if it doesn't
recognise the os_type. Might as well be Unix.

Signed-off-by: David Scott <dave.scott@eu.citrix.com>
  • Loading branch information
David Scott committed Dec 9, 2013
1 parent f8fc126 commit 5a22975
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion xen/runtime/config/s.h
@@ -1,4 +1,4 @@
#define OCAML_OS_TYPE "xen"
#define OCAML_OS_TYPE "Unix"
#define OCAML_STDLIB_DIR "/usr/local/lib/ocaml"
#define POSIX_SIGNALS
//#define HAS_GETRUSAGE
Expand Down
2 changes: 1 addition & 1 deletion xen/runtime/include/caml.4.00.1/config.h
Expand Up @@ -28,7 +28,7 @@
#undef ARCH_ALIGN_DOUBLE
#undef ARCH_ALIGN_INT64
#undef NONSTANDARD_DIV_MOD
#define OCAML_OS_TYPE "xen"
#define OCAML_OS_TYPE "Unix"
#define OCAML_STDLIB_DIR "/usr/local/lib/ocaml"
#define POSIX_SIGNALS
//#define HAS_GETRUSAGE
Expand Down

0 comments on commit 5a22975

Please sign in to comment.