systems now (tested on OSF1)
echo yes;AC_DEFINE(HAVE_FNMATCH),
echo no)
echo yes;AC_DEFINE(HAVE_FNMATCH),
echo no)
-echo $ac_n "checking for long long... $ac_c"
+echo $ac_n "checking for long long ... $ac_c"
AC_TRY_RUN([#include <stdio.h>
AC_TRY_RUN([#include <stdio.h>
-main() { long long x = 1000000000000; char b[20]; sprintf(b,"%lld", x); exit(strcmp("1000000000000", b) == 0? 0: 1); }],
+main() { long long x = 1000000; char b[20]; x *= x; sprintf(b,"%lld", x); exit(strcmp("1000000000000", b) == 0? 0: 1); }],
echo yes;AC_DEFINE(HAVE_LONGLONG),
echo no)
echo yes;AC_DEFINE(HAVE_LONGLONG),
echo no)
if (ret != -1) return ret;
if (ret != -1) return ret;
fprintf(FERROR,"Integer overflow - attempted 64 bit offset\n");
exit_cleanup(1);
#else
fprintf(FERROR,"Integer overflow - attempted 64 bit offset\n");
exit_cleanup(1);
#else
#define uint32 unsigned int32
#endif
#define uint32 unsigned int32
#endif
+#if (SIZEOF_LONG == 8)
+#define int64 long
+#elif (SIZEOF_INT == 8)
+#define int64 int
+#elif HAVE_LONGLONG
#define int64 long long
#else
#define int64 off_t
#define int64 long long
#else
#define int64 off_t