aboutsummaryrefslogtreecommitdiffstats
path: root/erts/etc/common/run_erl_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'erts/etc/common/run_erl_common.h')
-rw-r--r--erts/etc/common/run_erl_common.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/erts/etc/common/run_erl_common.h b/erts/etc/common/run_erl_common.h
index dca1af93f2..3b763ad927 100644
--- a/erts/etc/common/run_erl_common.h
+++ b/erts/etc/common/run_erl_common.h
@@ -51,8 +51,12 @@ int erts_run_erl_write_all(int fd, const char* buf, int len);
char *simple_basename(char *path);
#ifndef LOG_ERR
+#ifdef __OSE__
+#define LOG_ERR 0
+#else
#define LOG_ERR NULL
#endif
+#endif
#define ERROR0(Prio,Format) erts_run_erl_log_error(Prio,__LINE__,Format"\n")
#define ERROR1(Prio,Format,A1) erts_run_erl_log_error(Prio,__LINE__,Format"\n",A1)