X-Git-Url: https://mattmccutchen.net/rsync/rsync.git/blobdiff_plain/f06e7082820ff5d1af8f44be4e4d2384b7adce8b..c561edaa729c655ab6980c43517bd8a864df6cc7:/options.c diff --git a/options.c b/options.c index 23b32fd5..cbf7a527 100644 --- a/options.c +++ b/options.c @@ -211,10 +211,14 @@ static void print_rsync_version(enum logcode f) get_panic_action()); #endif -#ifdef INT64_IS_OFF_T - if (sizeof (int64) < 8) - rprintf(f, "WARNING: no 64-bit integers on this platform!\n"); +#if SIZEOF_INT64 < 8 + rprintf(f, "WARNING: no 64-bit integers on this platform!\n"); #endif + if (sizeof (int64) != SIZEOF_INT64) { + rprintf(f, + "WARNING: size mismatch in SIZEOF_INT64 define (%d != %d)\n", + (int) SIZEOF_INT64, (int) sizeof (int64)); + } rprintf(f, "\n"