From b262f7131f65ee76968fbc067a6fe6df84a49fd2 Mon Sep 17 00:00:00 2001 From: "Paul \"LeoNerd\" Evans" Date: Tue, 31 Jan 2012 19:30:09 +0000 Subject: Solaris needs _STRPTIME_DONTZERO in order not to zero out all the untouched fields in strptime(3) --- ext/POSIX/POSIX.xs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ext/POSIX/POSIX.xs b/ext/POSIX/POSIX.xs index 65fd9319b1..4ad3cce250 100644 --- a/ext/POSIX/POSIX.xs +++ b/ext/POSIX/POSIX.xs @@ -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" -- cgit v1.2.1