summaryrefslogtreecommitdiff
path: root/devel/p5-Time-Object/files/patch-Object.xs
blob: 37332ce51697aab547802adae42a28a698e7391c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- ./Object.xs.orig	2001-10-22 17:48:04.000000000 +0800
+++ ./Object.xs	2007-09-10 11:07:31.866215125 +0800
@@ -42,6 +42,10 @@
 # define init_tm(ptm)
 #endif
 
+#ifdef mini_mktime
+#undef mini_mktime
+#endif
+
 /*
  * mini_mktime - normalise struct tm values without the localtime()
  * semantics (and overhead) of mktime().