aboutsummaryrefslogtreecommitdiffstats
path: root/finance/kmymoney-kde4/files/patch-mymoneymoney.cpp
blob: fb539d4f3175ee82f3badf1b64601119bb112f87 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- kmymoney2/mymoney/mymoneymoney.cpp.orig Sun Jul 25 13:53:54 2004
+++ kmymoney2/mymoney/mymoneymoney.cpp  Sun Jul 25 14:06:09 2004
@@ -21,8 +21,13 @@
  ***************************************************************************/
 
 #define __STDC_LIMIT_MACROS         // force definition of min and max values 
+#ifdef HAVE_STDINT_H
 #include <stdint.h>
-
+#else
+#include <limits.h>
+#define INT64_MAX LLONG_MAX
+#define INT64_MIN LLONG_MIN
+#endif
 // ----------------------------------------------------------------------------
 // QT Includes