diff options
author | Brian Fraser <fraserbn@gmail.com> | 2013-09-11 16:57:57 -0300 |
---|---|---|
committer | Brian Fraser <fraserbn@gmail.com> | 2013-09-23 21:21:00 -0300 |
commit | bdea967c6ddd9640355c80b2908ca4f349aa314c (patch) | |
tree | 018d9caca791d5f11e21285b397a93ac74345147 | |
parent | dd134d2c87088199291548ead0eb89d8d6f7fe60 (diff) | |
download | perl-bdea967c6ddd9640355c80b2908ca4f349aa314c.tar.gz |
Consistently use __sun to identify SunOS
The core mostly used __sun already, but '__sun__' and 'sun' were
also present.
-rw-r--r-- | perl.h | 2 | ||||
-rw-r--r-- | perlio.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -4028,7 +4028,7 @@ EXT char *** environ_pointer; /* VMS and some other platforms don't use the environ array */ # ifdef USE_ENVIRON_ARRAY # if !defined(DONT_DECLARE_STD) || \ - (defined(__svr4__) && defined(__GNUC__) && defined(sun)) || \ + (defined(__svr4__) && defined(__GNUC__) && defined(__sun)) || \ defined(__sgi) extern char ** environ; /* environment variables supplied via exec */ # endif @@ -3169,7 +3169,7 @@ PerlIOStdio_invalidate_fileno(pTHX_ FILE *f) */ f->_fileno = -1; return 1; -# elif defined(__sun__) +# elif defined(__sun) PERL_UNUSED_ARG(f); return 0; # elif defined(__hpux) |