build: Require 64-bit files support and do not define HAVE_EXPLICIT_LARGEFILE_SUPPORT
[garming/samba-autobuild/.git] / source3 / wscript
index dc80bdbbfdc3fcef3e0a79c3ef7fab3d53237ba4..1e703dd2b17f56496f5f3968bab61483a18a9994 100644 (file)
@@ -356,16 +356,6 @@ return acl_get_perm_np(permset_d, perm);
                 headers='unistd.h fcntl.h')
     conf.CHECK_DECLS('readahead', headers='fcntl.h', always=True)
 
-    conf.CHECK_CODE('''
-                #if defined(HAVE_LONGLONG) && (defined(HAVE_OFF64_T) || (defined(SIZEOF_OFF_T) && (SIZEOF_OFF_T == 8)))
-                #include <sys/types.h>
-                #else
-                __COMPILE_ERROR_
-                #endif
-                int i;''',
-                'HAVE_EXPLICIT_LARGEFILE_SUPPORT',
-                msg="Checking whether large file support can be enabled")
-
     if Options.options.with_aio_support:
         conf.CHECK_FUNCS_IN('aio_read', 'aio')
         conf.CHECK_FUNCS_IN('aio_read', 'rt')