git-svn: trunk@1938
Nigel Horne authored on 2006/05/02 02:36:05... | ... |
@@ -35,7 +35,7 @@ |
35 | 35 |
* cli_mbox decode it |
36 | 36 |
* TODO: Remove the vcard handling |
37 | 37 |
*/ |
38 |
-static char const rcsid[] = "$Id: pst.c,v 1.15 2006/05/01 17:05:17 nigelhorne Exp $"; |
|
38 |
+static char const rcsid[] = "$Id: pst.c,v 1.16 2006/05/01 17:36:05 nigelhorne Exp $"; |
|
39 | 39 |
|
40 | 40 |
#if HAVE_CONFIG_H |
41 | 41 |
#include "clamav-config.h" /* must come first */ |
... | ... |
@@ -626,6 +626,10 @@ fileTimeToUnixTime(const FILETIME *filetime, DWORD *remainder) |
626 | 626 |
#define PST_APP_LABEL_ANNIVERSARY 9 // Anniversary |
627 | 627 |
#define PST_APP_LABEL_PHONE_CALL 10// Phone Call |
628 | 628 |
|
629 |
+#ifndef INT32_MAX /* e.g. Old Linux */ |
|
630 |
+#define INT32_MAX INT_MAX |
|
631 |
+#endif |
|
632 |
+ |
|
629 | 633 |
struct _pst_table_ptr_struct{ |
630 | 634 |
int32_t start; |
631 | 635 |
int32_t u1; |