aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_init.c
diff options
context:
space:
mode:
authorSverker Eriksson <[email protected]>2015-04-10 19:12:48 +0200
committerSverker Eriksson <[email protected]>2015-04-10 19:12:48 +0200
commit9929a1fd151a78247f1d536f2a21843f310a4e3b (patch)
treec8c29c8fe01a0dd34347875111dc7fa483113d2e /erts/emulator/beam/erl_init.c
parentf54392bc3c811d44cef2b31c20cac9fb11bf38e1 (diff)
downloadotp-9929a1fd151a78247f1d536f2a21843f310a4e3b.tar.gz
otp-9929a1fd151a78247f1d536f2a21843f310a4e3b.tar.bz2
otp-9929a1fd151a78247f1d536f2a21843f310a4e3b.zip
erts: Add etp_the_non_value
for a correct (non)value regardless of build type.
Diffstat (limited to 'erts/emulator/beam/erl_init.c')
-rw-r--r--erts/emulator/beam/erl_init.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_init.c b/erts/emulator/beam/erl_init.c
index 86d3416423..1346892e29 100644
--- a/erts/emulator/beam/erl_init.c
+++ b/erts/emulator/beam/erl_init.c
@@ -118,6 +118,8 @@ const int etp_big_endian = 1;
#else
const int etp_big_endian = 0;
#endif
+const Eterm etp_the_non_value = THE_NON_VALUE;
+
/*
* Note about VxWorks: All variables must be initialized by executable code,
* not by an initializer. Otherwise a new instance of the emulator will