configure.ac : Detect the size of off_t.
authorErik de Castro Lopo <erikd@mega-nerd.com>
Wed, 13 Mar 2013 10:54:15 +0000 (21:54 +1100)
committerErik de Castro Lopo <erikd@mega-nerd.com>
Wed, 13 Mar 2013 10:54:15 +0000 (21:54 +1100)
configure.ac

index 84b33fc..8b6edcb 100644 (file)
@@ -40,6 +40,7 @@ AC_PROG_MAKE_SET
 AC_SYS_LARGEFILE
 AC_FUNC_FSEEKO
 
+AC_CHECK_SIZEOF(off_t,1)       # Fake default value.
 AC_CHECK_SIZEOF([void*])
 AC_SEARCH_LIBS([lround],[m], [AC_DEFINE(HAVE_LROUND,1,lround support)])