summaryrefslogtreecommitdiffstats
path: root/source3/wscript
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 09:47:53 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:08 +0200
commitd5c7de8650ee2e05de591f3901c2cad010b88b77 (patch)
tree6d941f6890de1195e69e7495fd35ed5cefaa7c2d /source3/wscript
parentc03398ec0f499eef8981274019cc7b4db09415c2 (diff)
downloadsamba-d5c7de8650ee2e05de591f3901c2cad010b88b77.tar.gz
samba-d5c7de8650ee2e05de591f3901c2cad010b88b77.tar.xz
samba-d5c7de8650ee2e05de591f3901c2cad010b88b77.zip
build: Require 64-bit files support and do not define HAVE_EXPLICIT_LARGEFILE_SUPPORT
Diffstat (limited to 'source3/wscript')
-rw-r--r--source3/wscript10
1 files changed, 0 insertions, 10 deletions
diff --git a/source3/wscript b/source3/wscript
index dc80bdbbfdc..1e703dd2b17 100644
--- a/source3/wscript
+++ b/source3/wscript
@@ -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')