[packages] fix large file support in samba3 (closes: #4014)
[openwrt/svn-archive/archive.git] / net / samba3 / files / config-lfs.h
1 #undef HAVE_CREAT64
2 #define HAVE_CREAT64 1
3
4 #undef HAVE_FSEEKO64
5 #define HAVE_FSEEKO64 1
6
7 #undef HAVE_FSTAT64
8 #define HAVE_FSTAT64 1
9
10 #undef HAVE_FTELLO64
11 #define HAVE_FTELLO64 1
12
13 #undef HAVE_FTRUNCATE64
14 #define HAVE_FTRUNCATE64 1
15
16 #undef HAVE_LSEEK64
17 #define HAVE_LSEEK64 1
18
19 #undef HAVE_LSTAT64
20 #define HAVE_LSTAT64 1
21
22 #undef HAVE_OPEN64
23 #define HAVE_OPEN64 1
24
25 #undef HAVE_PREAD64
26 #define HAVE_PREAD64 1
27
28 #undef HAVE_PWRITE64
29 #define HAVE_PWRITE64 1
30
31 #undef HAVE_READDIR64
32 #define HAVE_READDIR64 1
33
34 #undef HAVE_STAT64
35 #define HAVE_STAT64 1
36
37 #undef HAVE_STRUCT_FLOCK64
38 #define HAVE_STRUCT_FLOCK64 1
39
40 #undef SIZEOF_LONG_LONG
41 #define SIZEOF_LONG_LONG 8
42
43 #undef SIZEOF_OFF_T
44 #define SIZEOF_OFF_T 8
45
46 #undef _FILE_OFFSET_BITS
47 #define _FILE_OFFSET_BITS 64
48
49 #undef _GNU_SOURCE
50 #define _GNU_SOURCE 1
51
52 #undef _LARGEFILE_SOURCE
53 #define _LARGEFILE_SOURCE 1
54
55 #undef _LARGEFILE64_SOURCE
56 #define _LARGEFILE64_SOURCE 1