summaryrefslogtreecommitdiff
path: root/byterun
diff options
context:
space:
mode:
authorNicolás Ojeda Bär <n.oje.bar@gmail.com>2017-12-07 10:42:12 +0100
committerMark Shinwell <mshinwell@gmail.com>2017-12-07 09:42:12 +0000
commitcaf391ff2ebe90967198d5f2b30a47e7d1f67216 (patch)
treee76a653db349c95707c7f835476116154efd22f4 /byterun
parent148e6a2947991495dc6e2f811d794aecf185e6b0 (diff)
downloadocaml-caf391ff2ebe90967198d5f2b30a47e7d1f67216.tar.gz
raw_spacetime_lib refactor + related fixes (#1477)
Diffstat (limited to 'byterun')
-rw-r--r--byterun/caml/spacetime.h11
1 files changed, 3 insertions, 8 deletions
diff --git a/byterun/caml/spacetime.h b/byterun/caml/spacetime.h
index df1193e262..5bcc923218 100644
--- a/byterun/caml/spacetime.h
+++ b/byterun/caml/spacetime.h
@@ -15,11 +15,9 @@
#ifndef CAML_SPACETIME_H
#define CAML_SPACETIME_H
-#ifdef NATIVE_CODE
-
-#include "caml/io.h"
-#include "caml/misc.h"
-#include "caml/stack.h"
+#include "io.h"
+#include "misc.h"
+#include "stack.h"
/* Runtime support for Spacetime profiling.
* This header file is not intended for the casual user.
@@ -202,7 +200,4 @@ extern void caml_spacetime_automatic_snapshot (void);
#define Get_my_profinfo_with_cached_backtrace(profinfo, size) \
profinfo = (uintnat) 0;
-#endif /* NATIVE_CODE */
-
-
#endif