summaryrefslogtreecommitdiff
path: root/source4
diff options
context:
space:
mode:
Diffstat (limited to 'source4')
-rw-r--r--source4/build/m4/rewrite.m41
-rw-r--r--source4/heimdal_build/config.h1
-rw-r--r--source4/lib/appweb/mpr/var.c2
3 files changed, 2 insertions, 2 deletions
diff --git a/source4/build/m4/rewrite.m4 b/source4/build/m4/rewrite.m4
index 5998801f0c..058cfade3b 100644
--- a/source4/build/m4/rewrite.m4
+++ b/source4/build/m4/rewrite.m4
@@ -88,6 +88,7 @@ AC_CHECK_TYPE(loff_t,off_t)
AC_CHECK_TYPE(offset_t,loff_t)
AC_CHECK_TYPES(ssize_t)
AC_CHECK_TYPES(intptr_t)
+AC_CHECK_TYPES(long long)
############################################
diff --git a/source4/heimdal_build/config.h b/source4/heimdal_build/config.h
index 6bbe947155..5ce029e83c 100644
--- a/source4/heimdal_build/config.h
+++ b/source4/heimdal_build/config.h
@@ -39,7 +39,6 @@ static /**/const char *const rcsid[] = { (const char *)rcsid, "\100(#)" msg }
/* these should be done with configure tests */
#define KRB5
-#define HAVE_LONG_LONG
#include <sys/types.h>
#include <stdarg.h>
diff --git a/source4/lib/appweb/mpr/var.c b/source4/lib/appweb/mpr/var.c
index d3d21f7eee..9b02c0f8b0 100644
--- a/source4/lib/appweb/mpr/var.c
+++ b/source4/lib/appweb/mpr/var.c
@@ -1658,7 +1658,7 @@ void mprVarToString(char** out, int size, char *fmt, MprVar *obj)
#if BLD_GOAHEAD_WEBSERVER
mprAllocSprintf(out, size, "%d", (int) obj->integer64);
#else
- mprAllocSprintf(out, size, "%Ld", obj->integer64);
+ mprAllocSprintf(out, size, "%lld", obj->integer64);
#endif
} else {
mprAllocSprintf(out, size, fmt, obj->integer64);