This is a live mirror of the Perl 5 development currently hosted at https://github.com/perl/perl5
__APPLE__ is not Apple, use PERL_DARWIN instead.
authorJarkko Hietaniemi <jhi@iki.fi>
Thu, 29 May 2014 14:21:58 +0000 (10:21 -0400)
committerJarkko Hietaniemi <jhi@iki.fi>
Thu, 29 May 2014 14:21:58 +0000 (10:21 -0400)
See hints/darwin.sh for details.

handy.h

diff --git a/handy.h b/handy.h
index 996f6b4..1bf35f6 100644 (file)
--- a/handy.h
+++ b/handy.h
@@ -224,7 +224,7 @@ typedef U64TYPE U64;
 /* In OS X the INT64_C/UINT64_C are defined with LL/ULL, which will
  * not fly with C89-pedantic gcc, so let's undefine them first so that
  * we can redefine them with our native integer preferring versions. */
-#  if defined(__APPLE__) && defined(PERL_GCC_PEDANTIC)
+#  if defined(PERL_DARWIN) && defined(PERL_GCC_PEDANTIC)
 #    undef INT64_C
 #    undef UINT64_C
 #  endif