aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorYiannis Tsiouris <[email protected]>2013-01-22 18:16:33 +0200
committerBjörn-Egil Dahlberg <[email protected]>2015-11-17 14:45:45 +0100
commiteebdde01b149ea45966c7412bc2a062136457b54 (patch)
treea2d73dbb183d1ffc4a02992fb38b527538568f76 /erts/emulator/beam/global.h
parent277e8e77384ed6628009243e63d62f0555d10c69 (diff)
downloadotp-eebdde01b149ea45966c7412bc2a062136457b54.tar.gz
otp-eebdde01b149ea45966c7412bc2a062136457b54.tar.bz2
otp-eebdde01b149ea45966c7412bc2a062136457b54.zip
Add --enable-sharing-preserving configure flag
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 303b9ee51b..3c59df5f41 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -1038,12 +1038,9 @@ void erl_error(char*, va_list);
/* This controls whether sharing-preserving copy is used by Erlang */
+#ifdef SHCOPY
#define SHCOPY_SEND
#define SHCOPY_SPAWN
-
-#if defined(SHCOPY_SEND) \
- || defined(SHCOPY_SPAWN)
-#define SHCOPY
/* Use this if you want sharing-preserving copy to be initially disabled */
#undef SHCOPY_DISABLE
#endif