summaryrefslogtreecommitdiff
path: root/perlio.c
diff options
context:
space:
mode:
authorBrian Fraser <fraserbn@gmail.com>2013-09-11 16:57:57 -0300
committerBrian Fraser <fraserbn@gmail.com>2013-09-23 21:21:00 -0300
commitbdea967c6ddd9640355c80b2908ca4f349aa314c (patch)
tree018d9caca791d5f11e21285b397a93ac74345147 /perlio.c
parentdd134d2c87088199291548ead0eb89d8d6f7fe60 (diff)
downloadperl-bdea967c6ddd9640355c80b2908ca4f349aa314c.tar.gz
Consistently use __sun to identify SunOS
The core mostly used __sun already, but '__sun__' and 'sun' were also present.
Diffstat (limited to 'perlio.c')
-rw-r--r--perlio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/perlio.c b/perlio.c
index 46933662b0..2591f89ce9 100644
--- a/perlio.c
+++ b/perlio.c
@@ -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)