aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/sys.h
diff options
context:
space:
mode:
authorLukas Larsson <[email protected]>2019-08-12 10:00:48 +0200
committerLukas Larsson <[email protected]>2019-08-13 08:09:40 +0200
commitb5ab81f3617bb9cb936beaacadae967d3c9ce541 (patch)
treeb8bbe5e03b7ef696673afc8e9c9cb96eb4f1f797 /erts/emulator/beam/sys.h
parent18e2d852469fc3c3cdf287de5ca1ed4c73c71c4d (diff)
downloadotp-b5ab81f3617bb9cb936beaacadae967d3c9ce541.tar.gz
otp-b5ab81f3617bb9cb936beaacadae967d3c9ce541.tar.bz2
otp-b5ab81f3617bb9cb936beaacadae967d3c9ce541.zip
erts: Restructure include of hash.h to work with inline
erl_child_setup is linked together with hash.o so we need to inline any functions into it when running in debug mode.
Diffstat (limited to 'erts/emulator/beam/sys.h')
-rw-r--r--erts/emulator/beam/sys.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h
index db07512cf7..8a59b61b63 100644
--- a/erts/emulator/beam/sys.h
+++ b/erts/emulator/beam/sys.h
@@ -673,7 +673,16 @@ typedef struct preload {
*/
typedef Eterm ErtsTracer;
-#include "erl_osenv.h"
+
+/*
+ * This structure contains the rb tree for the erlang osenv copy
+ * see erl_osenv.h for more details.
+ */
+typedef struct __erts_osenv_t {
+ struct __env_rbtnode_t *tree;
+ int variable_count;
+ int content_size;
+} erts_osenv_t;
/*
* This structure contains options to all built in drivers.