summaryrefslogtreecommitdiff
path: root/generic/String.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'generic/String.cpp')
-rw-r--r--generic/String.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/generic/String.cpp b/generic/String.cpp
index 786c623..49b4e4d 100644
--- a/generic/String.cpp
+++ b/generic/String.cpp
@@ -3,7 +3,9 @@
#include <stdarg.h>
#include "String.h"
#include "Exceptions.h"
+#ifdef HAVE_CONFIG_H
#include "config.h"
+#endif
extern "C" {
double dateCalc(char *, char *);
@@ -43,6 +45,7 @@ String::String(unsigned int i) {
siz = ::strlen(str);
}
+#ifdef USE_LONGLONG
String::String(long long l) {
char t[40];
@@ -58,6 +61,7 @@ String::String(unsigned long long l) {
str = Base::strdup(t);
siz = ::strlen(str);
}
+#endif
String::String(double d) {
char t[30];