aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index d99f6548f9..c2056dafaa 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -1048,9 +1048,13 @@ void erl_error(char*, va_list);
#undef SHCOPY_DEBUG
#endif
+#ifdef SHCOPY_DEBUG
#define VERBOSE_DEBUG(...) do { \
erts_fprintf(stderr, __VA_ARGS__); \
} while(0)
+#else
+#define VERBOSE_DEBUG(...)
+#endif
#define ERTS_SHCOPY_FLG_MASK (((unsigned) 3) << 0)
#define ERTS_SHCOPY_FLG_NONE (((unsigned) 1) << 0)