summaryrefslogtreecommitdiff
path: root/util.h
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2009-04-27 08:02:55 +0100
committerNicholas Clark <nick@ccl4.org>2009-04-27 08:02:55 +0100
commite37778c28ba4f7032e74888c10d3a8b367d2b4c4 (patch)
tree1ea7c8bd19eea0a1d2c2e9af39d27e9182965831 /util.h
parentf21000970ab9d31d61aef8d0ffdfbc9fdad80291 (diff)
downloadperl-e37778c28ba4f7032e74888c10d3a8b367d2b4c4.tar.gz
Remove all #ifdef MACOS_TRADITIONAL code in core and non-dual-life XS code.
(MacOS support was removed from MakeMaker in 6.22, and merged to blead on 15th December 2004 with 5dca256ec738057dc331fb644a93eca44ad5fa14. After this point MacOS wouldn't even have been able to build the perl binary, because it would not have been able to build DynaLoader. If anyone wishes to resurrect MacOS, start by reversing this commit and the relevant part of that commit.)
Diffstat (limited to 'util.h')
-rw-r--r--util.h6
1 files changed, 1 insertions, 5 deletions
diff --git a/util.h b/util.h
index db91c18ee8..6eab055686 100644
--- a/util.h
+++ b/util.h
@@ -32,11 +32,7 @@
(*(f) == '/' \
|| ((f)[0] && (f)[1] == ':')) /* drive name */
# else /* NEITHER DOSISH NOR EPOCISH NOR SYMBIANISH */
-# ifdef MACOS_TRADITIONAL
-# define PERL_FILE_IS_ABSOLUTE(f) (strchr(f, ':') && *(f) != ':')
-# else /* !MACOS_TRADITIONAL */
-# define PERL_FILE_IS_ABSOLUTE(f) (*(f) == '/')
-# endif /* MACOS_TRADITIONAL */
+# define PERL_FILE_IS_ABSOLUTE(f) (*(f) == '/')
# endif /* DOSISH */
# endif /* NETWARE */
# endif /* WIN32 */