summaryrefslogtreecommitdiff
path: root/handy.h
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2014-05-29 10:21:58 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2014-05-29 10:21:58 -0400
commit8eafc6eb8a6926872a35c0af0f4cf25645edbec9 (patch)
treea1e49416abdde50fe4b12a37faa0d73ff6bff0f5 /handy.h
parentb7d878615197b333d2e3724e68d3504cb6c26106 (diff)
downloadperl-8eafc6eb8a6926872a35c0af0f4cf25645edbec9.tar.gz
__APPLE__ is not Apple, use PERL_DARWIN instead.
See hints/darwin.sh for details.
Diffstat (limited to 'handy.h')
-rw-r--r--handy.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/handy.h b/handy.h
index 996f6b45a8..1bf35f691f 100644
--- 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