projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
052980e
)
Mac OS X patch for missing tzname definition from Paul Schinder.
author
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 24 Apr 2001 23:27:57 +0000
(23:27 +0000)
committer
Jarkko Hietaniemi
<jhi@iki.fi>
Tue, 24 Apr 2001 23:27:57 +0000
(23:27 +0000)
p4raw-id: //depot/perl@9823
ext/POSIX/POSIX.xs
patch
|
blob
|
history
diff --git
a/ext/POSIX/POSIX.xs
b/ext/POSIX/POSIX.xs
index
39d6f40
..
fe32529
100644
(file)
--- a/
ext/POSIX/POSIX.xs
+++ b/
ext/POSIX/POSIX.xs
@@
-64,6
+64,11
@@
#endif
#include <fcntl.h>
+/* Mac OSX does not include a definition of tzname in a .h file */
+#if defined (HAS_TZNAME) && defined(__APPLE__) && defined(__MACH__)
+extern char *tzname[2];
+#endif
+
#if defined(__VMS) && !defined(__POSIX_SOURCE)
# include <libdef.h> /* LIB$_INVARG constant */
# include <lib$routines.h> /* prototype for lib$ediv() */