diff options
author | Lukas Larsson <[email protected]> | 2018-10-29 09:45:08 +0100 |
---|---|---|
committer | GitHub <[email protected]> | 2018-10-29 09:45:08 +0100 |
commit | 6af0e0dd1edff79a92391dfd1b2fbcba49021f5c (patch) | |
tree | 562c44d616f639bd201c5578aed2f7fdaee0c6a3 /erts | |
parent | c87f09ffbdd1e2d47c5108cd04c6662f7a45cbda (diff) | |
parent | 262e23e937690e99ee304b96fe452376cab3012f (diff) | |
download | otp-6af0e0dd1edff79a92391dfd1b2fbcba49021f5c.tar.gz otp-6af0e0dd1edff79a92391dfd1b2fbcba49021f5c.tar.bz2 otp-6af0e0dd1edff79a92391dfd1b2fbcba49021f5c.zip |
Merge pull request #1977 from RogierWV/maint/OTP-15389
Fix run_erl.c so it compiles on Solaris
Diffstat (limited to 'erts')
-rw-r--r-- | erts/etc/unix/run_erl.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/erts/etc/unix/run_erl.c b/erts/etc/unix/run_erl.c index 725343d701..bfb3e1bd2c 100644 --- a/erts/etc/unix/run_erl.c +++ b/erts/etc/unix/run_erl.c @@ -43,10 +43,10 @@ #endif #ifdef HAVE_WORKING_POSIX_OPENPT # ifndef _XOPEN_SOURCE - /* On OS X and BSD, we must leave _XOPEN_SOURCE undefined in order for - * the prototype of vsyslog() to be included. + /* On OS X, BSD and Solaris, we must leave _XOPEN_SOURCE undefined in order + * for the prototype of vsyslog() to be included. */ -# if !(defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__)) +# if !(defined(__APPLE__) || defined(__FreeBSD__) || defined(__DragonFly__) || defined(__sun)) # define _XOPEN_SOURCE 600 # endif # endif |