diff options
author | Lukas Larsson <[email protected]> | 2014-01-08 11:35:29 +0100 |
---|---|---|
committer | Lukas Larsson <[email protected]> | 2014-02-24 15:16:04 +0100 |
commit | 5c299e355e05a464215e49cfd95f62b5194de609 (patch) | |
tree | 574c6a523ff8ca325104e14021a08d2c36d434ad /erts/etc/common/run_erl_common.h | |
parent | aa80261396941ee63758d6b5965a7e075b79b4ee (diff) | |
download | otp-5c299e355e05a464215e49cfd95f62b5194de609.tar.gz otp-5c299e355e05a464215e49cfd95f62b5194de609.tar.bz2 otp-5c299e355e05a464215e49cfd95f62b5194de609.zip |
ose: Port run_erl and to_erl
Diffstat (limited to 'erts/etc/common/run_erl_common.h')
-rw-r--r-- | erts/etc/common/run_erl_common.h | 4 |
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) |