summaryrefslogtreecommitdiff
path: root/x2p
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-06-13 14:33:51 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-06-13 14:33:51 +0000
commitf72d1791dc00727a5f66df7ed9fa216194f48af8 (patch)
tree3f4b062470a511cab340db9e3366425785bbb07d /x2p
parentaf28e88917ada915d1c6a69f2caccaada3cad842 (diff)
downloadperl-f72d1791dc00727a5f66df7ed9fa216194f48af8.tar.gz
Apparently the __APPLE__ cpp symbol is not Officially Sanctioned
way of detecting Darwin/Mac OS X; instead it is recommended to detect the OS at a higher level and pass the information manually down to the application, using e.g. a -Ddefinition. p4raw-id: //depot/perl@19764
Diffstat (limited to 'x2p')
-rw-r--r--x2p/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/x2p/util.c b/x2p/util.c
index d5a2e75482..5759c5b98d 100644
--- a/x2p/util.c
+++ b/x2p/util.c
@@ -206,7 +206,7 @@ fatal(char *pat,...)
exit(1);
}
-#if defined(__APPLE_CC__)
+#if defined(DARWIN)
__private_extern__ /* warn() conflicts with libc */
#endif
void