Solaris needs _STRPTIME_DONTZERO in order not to zero out all the untouched fields...
authorPaul "LeoNerd" Evans <leonerd@leonerd.org.uk>
Tue, 31 Jan 2012 19:30:09 +0000 (19:30 +0000)
committerÆvar Arnfjörð Bjarmason <avar@cpan.org>
Sat, 11 Feb 2012 22:22:25 +0000 (22:22 +0000)
ext/POSIX/POSIX.xs

index 65fd931..4ad3cce 100644 (file)
@@ -13,6 +13,9 @@
 
 #define PERL_NO_GET_CONTEXT
 
+/* Solaris needs this in order not to zero out all the untouched fields in strptime() */
+#define _STRPTIME_DONTZERO
+
 #include "EXTERN.h"
 #define PERLIO_NOT_STDIO 1
 #include "perl.h"