Change 33469 by [EMAIL PROTECTED] on 2008/03/10 21:50:24

        Re-apply part of #33370 to Time::Piece

Affected files ...

... //depot/perl/ext/Time/Piece/Piece.pm#18 edit
... //depot/perl/ext/Time/Piece/Piece.xs#15 edit

Differences ...

==== //depot/perl/ext/Time/Piece/Piece.pm#18 (text) ====
Index: perl/ext/Time/Piece/Piece.pm
--- perl/ext/Time/Piece/Piece.pm#17~33468~      2008-03-10 14:48:45.000000000 
-0700
+++ perl/ext/Time/Piece/Piece.pm        2008-03-10 14:50:24.000000000 -0700
@@ -22,7 +22,7 @@
     ':override' => 'internal',
     );
 
-our $VERSION = '1.13';
+our $VERSION = '1.13_01';
 
 bootstrap Time::Piece $VERSION;
 

==== //depot/perl/ext/Time/Piece/Piece.xs#15 (text) ====
Index: perl/ext/Time/Piece/Piece.xs
--- perl/ext/Time/Piece/Piece.xs#14~33468~      2008-03-10 14:48:45.000000000 
-0700
+++ perl/ext/Time/Piece/Piece.xs        2008-03-10 14:50:24.000000000 -0700
@@ -188,8 +188,12 @@
 #define strncasecmp(x,y,n) strnicmp(x,y,n)
 
 #if defined(WIN32)
+#if defined(__BORLANDC__)
+void * __cdecl _EXPFUNC alloca(_SIZE_T __size);
+#else
 #define alloca _alloca
 #endif
+#endif
 
 /* strptime copied from freebsd with the following copyright: */
 /*
End of Patch.

Reply via email to