--- boxbackup-0.10/configure.ac 2006-02-23 21:47:36.000000000 +0100 +++ boxbackup-0.10.with.patch/configure.ac 2007-02-13 00:13:00.000000000 +0100 @@ -114,7 +114,6 @@ AC_STRUCT_TM AX_CHECK_DIRENT_D_TYPE AC_SYS_LARGEFILE -AX_CHECK_LLONG_MINMAX AX_CHECK_DEFINE_PRAGMA if test "x$ac_cv_c_bigendian" != "xyes"; then AX_BSWAP64 --- boxbackup-0.10/bin/bbackupquery/BackupQueries.cpp 2006-02-23 21:47:37.000000000 +0100 +++ boxbackup-0.10.with.patch/bin/bbackupquery/BackupQueries.cpp 2007-02-13 00:19:06.000000000 +0100 @@ -64,6 +64,7 @@ #endif #include +#include #include "BackupQueries.h" #include "Utils.h" @@ -815,7 +816,7 @@ } int64_t id = ::strtoll(args[0].c_str(), 0, 16); - if(id == LLONG_MIN || id == LLONG_MAX || id == 0) + if(id == std::numeric_limits::min() || id == std::numeric_limits::max() || id == 0) { printf("Not a valid object ID (specified in hex)\n"); return; @@ -901,7 +902,7 @@ { // Specified as ID. id = ::strtoll(args[0].c_str(), 0, 16); - if(id == LLONG_MIN || id == LLONG_MAX || id == 0) + if(id == std::numeric_limits::min() || id == std::numeric_limits::max() || id == 0) { printf("Not a valid object ID (specified in hex)\n"); return; @@ -1694,7 +1695,7 @@ { // Specified as ID. dirID = ::strtoll(args[0].c_str(), 0, 16); - if(dirID == LLONG_MIN || dirID == LLONG_MAX || dirID == 0) + if(dirID == std::numeric_limits::min() || dirID == std::numeric_limits::max() || dirID == 0) { printf("Not a valid object ID (specified in hex)\n"); return; --- boxbackup-0.10/lib/win32/config.h.win32 2006-02-23 21:47:36.000000000 +0100 +++ boxbackup-0.10.with.patch/lib/win32/config.h.win32 2007-02-13 00:13:05.000000000 +0100 @@ -318,12 +318,6 @@ /* Define to 1 if __syscall is available but needs a definition */ /* #undef HAVE___SYSCALL_NEED_DEFN */ -/* max value of long long calculated by configure */ -/* #undef LLONG_MAX */ - -/* min value of long long calculated by configure */ -/* #undef LLONG_MIN */ - /* Define to 1 if `lstat' dereferences a symlink specified with a trailing slash. */ /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */