summaryrefslogtreecommitdiffstats
path: root/kmymoney2/mymoney/mymoneymoney.h
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2022-03-18 04:03:50 +0100
committerSlávek Banko <slavek.banko@axis.cz>2022-03-18 12:45:32 +0100
commitf3fd991c693316d26e360438eff8ecff8a54553d (patch)
tree332159ae0e96affb31c831b82e069fbeb1d7984b /kmymoney2/mymoney/mymoneymoney.h
parent5e6c401557744fe5f9765471605cc793939fee1f (diff)
downloadkmymoney-f3fd991c693316d26e360438eff8ecff8a54553d.tar.gz
kmymoney-f3fd991c693316d26e360438eff8ecff8a54553d.zip
Enforce the use of TQt with STL only where it is necessary.
The definition of -UTQT_NO_STL is no longer needed. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kmymoney2/mymoney/mymoneymoney.h')
-rw-r--r--kmymoney2/mymoney/mymoneymoney.h13
1 files changed, 3 insertions, 10 deletions
diff --git a/kmymoney2/mymoney/mymoneymoney.h b/kmymoney2/mymoney/mymoneymoney.h
index 97534b5..bbf500b 100644
--- a/kmymoney2/mymoney/mymoneymoney.h
+++ b/kmymoney2/mymoney/mymoneymoney.h
@@ -40,17 +40,10 @@
#include <kmymoney/export.h>
#include <kmymoney/mymoneyexception.h>
-// Check for standard definitions
-#ifdef HAVE_STDINT_H
- #ifndef __STDC_LIMIT_MACROS
- #define __STDC_LIMIT_MACROS // force definition of min and max values
- #endif
- #include <stdint.h>
-#else
- #include <limits.h>
- #define INT64_MAX LLONG_MAX
- #define INT64_MIN LLONG_MIN
+#ifndef __STDC_LIMIT_MACROS
+ #define __STDC_LIMIT_MACROS // force definition of min and max values
#endif
+#include <inttypes.h>
typedef int64_t signed64;
typedef uint64_t unsigned64;