diff options
author | Vladimir Marek <vlmarek@volny.cz> | 2014-07-23 17:05:59 +1000 |
---|---|---|
committer | Tony Cook <tony@develop-help.com> | 2014-07-23 17:05:59 +1000 |
commit | 07ad9e0e19891ec129e1a78e40a66ca19b51302d (patch) | |
tree | b2e0a065bf27df7e0b2143db4992260f1300b62a /util.c | |
parent | b7d34c6cc3dc8c98495164fbce7d2415e0fb8365 (diff) | |
download | perl-07ad9e0e19891ec129e1a78e40a66ca19b51302d.tar.gz |
use setenv() on Solaris
Diffstat (limited to 'util.c')
-rw-r--r-- | util.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2072,7 +2072,7 @@ Perl_my_setenv(pTHX_ const char *nam, const char *val) my_setenv_format(environ[i], nam, nlen, val, vlen); } else { # endif -# if defined(__CYGWIN__)|| defined(__SYMBIAN32__) || defined(__riscos__) +# if defined(__CYGWIN__)|| defined(__SYMBIAN32__) || defined(__riscos__) || defined(__sun) # if defined(HAS_UNSETENV) if (val == NULL) { (void)unsetenv(nam); |