xref: /haiku/src/add-ons/kernel/file_systems/ntfs/libntfs/config.h (revision 4c8e85b316c35a9161f5a1c50ad70bc91c83a76f)
1 /* Haiku-specific stuff */
2 #ifdef __HAIKU__
3 #define	major(x) ((int)(0x00ff & ((x) >> 8)))
4 #define	minor(x) ((int)(0xffff00ff & (x)))
5 #define	makedev(maj,min) ((0xff00 & ((maj)<<8)) | (0xffff00ff & (min)))
6 
7 // override bool
8 #define _WINDEF_H
9 #ifndef __cplusplus
10 #include <stdbool.h>
11 #endif
12 typedef bool BOOL;
13 #ifndef __cplusplus
14 #ifndef FALSE
15 #define FALSE 0
16 #endif
17 #ifndef NO
18 #define NO 0
19 #endif
20 #ifndef ZERO
21 #define ZERO 0
22 #endif
23 #ifndef TRUE
24 #define TRUE 1
25 #endif
26 #ifndef YES
27 #define YES 1
28 #endif
29 #ifndef ONE
30 #define ONE 1
31 #endif
32 #endif
33 #endif
34 
35 /* config.h.  Generated from config.h.in by configure.  */
36 /* config.h.in.  Generated from configure.ac by autoheader.  */
37 
38 /* Define if building universal (internal helper macro) */
39 /* #undef AC_APPLE_UNIVERSAL_BUILD */
40 
41 /* Define to 1 for disabling reparse plugins */
42 /* #undef DISABLE_PLUGINS */
43 
44 /* Define this to 1 if you want to enable support of encrypted files in
45    libntfs and utilities. */
46 /* #undef ENABLE_CRYPTO */
47 
48 /* Define to 1 if debug should be enabled */
49 /* #undef ENABLE_DEBUG */
50 
51 /* Define this to 1 if you want to enable use of Windows compliant disk
52    geometry. */
53 /* #undef ENABLE_HD */
54 
55 /* Define to 1 if the nfconv patch should be enabled */
56 /* #undef ENABLE_NFCONV */
57 
58 /* Define this to 1 if you want to enable generation of DCE compliant UUIDs.
59    */
60 /* #undef ENABLE_UUID */
61 
62 /* Define to 1 if using internal fuse */
63 /* #undef FUSE_INTERNAL */
64 
65 /* Define to 1 if you have the `atexit' function. */
66 #define HAVE_ATEXIT 1
67 
68 /* Define to 1 if you have the `basename' function. */
69 #define HAVE_BASENAME 1
70 
71 /* Define to 1 if you have the <byteswap.h> header file. */
72 /* #undef HAVE_BYTESWAP_H */
73 
74 /* Define to 1 if you have the `clock_gettime' function. */
75 /* #undef HAVE_CLOCK_GETTIME */
76 
77 /* Define to 1 if you have the <ctype.h> header file. */
78 #define HAVE_CTYPE_H 1
79 
80 /* Define to 1 if you have the `daemon' function. */
81 #define HAVE_DAEMON 1
82 
83 /* Define to 1 if you have the <dlfcn.h> header file. */
84 #define HAVE_DLFCN_H 1
85 
86 /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
87 /* #undef HAVE_DOPRNT */
88 
89 /* Define to 1 if you have the `dup2' function. */
90 #define HAVE_DUP2 1
91 
92 /* Define to 1 if you have the <endian.h> header file. */
93 #define HAVE_ENDIAN_H 1
94 
95 /* Define to 1 if you have the <errno.h> header file. */
96 #define HAVE_ERRNO_H 1
97 
98 /* Define to 1 if you have the <fcntl.h> header file. */
99 #define HAVE_FCNTL_H 1
100 
101 /* Define to 1 if you have the `fdatasync' function. */
102 /* #undef HAVE_FDATASYNC */
103 
104 /* Define to 1 if you have the <features.h> header file. */
105 #define HAVE_FEATURES_H 1
106 
107 /* Define to 1 if you have the `ffs' function. */
108 #define HAVE_FFS 1
109 
110 /* Define to 1 if you have the `fork' function. */
111 /* #undef HAVE_FORK */
112 
113 /* Define to 1 if you have the `getmntent' function. */
114 /* #undef HAVE_GETMNTENT */
115 
116 /* Define to 1 if you have the <getopt.h> header file. */
117 #define HAVE_GETOPT_H 1
118 
119 /* Define to 1 if you have the `getopt_long' function. */
120 #define HAVE_GETOPT_LONG 1
121 
122 /* Define to 1 if you have the `gettimeofday' function. */
123 #define HAVE_GETTIMEOFDAY 1
124 
125 /* Define to 1 if you have the `hasmntopt' function. */
126 /* #undef HAVE_HASMNTOPT */
127 
128 /* Define to 1 if you have the <inttypes.h> header file. */
129 #define HAVE_INTTYPES_H 1
130 
131 /* Define to 1 if you have the `c' library (-lc). */
132 /* #undef HAVE_LIBC */
133 
134 /* Define to 1 if you have the <libgen.h> header file. */
135 #define HAVE_LIBGEN_H 1
136 
137 /* Define to 1 if you have the <libintl.h> header file. */
138 /* #undef HAVE_LIBINTL_H */
139 
140 /* Define to 1 if you have the <limits.h> header file. */
141 #define HAVE_LIMITS_H 1
142 
143 /* Define to 1 if you have the <linux/fd.h> header file. */
144 /* #undef HAVE_LINUX_FD_H */
145 
146 /* Define to 1 if you have the <linux/fs.h> header file. */
147 /* #undef HAVE_LINUX_FS_H */
148 
149 /* Define to 1 if you have the <linux/hdreg.h> header file. */
150 /* #undef HAVE_LINUX_HDREG_H */
151 
152 /* Define to 1 if you have the <linux/major.h> header file. */
153 /* #undef HAVE_LINUX_MAJOR_H */
154 
155 /* Define to 1 if you have the <locale.h> header file. */
156 #define HAVE_LOCALE_H 1
157 
158 /* Define to 1 if you have the <machine/endian.h> header file. */
159 /* #undef HAVE_MACHINE_ENDIAN_H */
160 
161 /* Define to 1 if you have the <malloc.h> header file. */
162 #define HAVE_MALLOC_H 1
163 
164 /* Define to 1 if mbrtowc and mbstate_t are properly declared. */
165 #define HAVE_MBRTOWC 1
166 
167 /* Define to 1 if you have the `mbsinit' function. */
168 /* #undef HAVE_MBSINIT */
169 
170 /* Define to 1 if you have the `memcpy' function. */
171 #define HAVE_MEMCPY 1
172 
173 /* Define to 1 if you have the `memmove' function. */
174 #define HAVE_MEMMOVE 1
175 
176 /* Define to 1 if you have the <memory.h> header file. */
177 #define HAVE_MEMORY_H 1
178 
179 /* Define to 1 if you have the `memset' function. */
180 #define HAVE_MEMSET 1
181 
182 /* Define to 1 if you have the <mntent.h> header file. */
183 /* #undef HAVE_MNTENT_H */
184 
185 /* Define to 1 if you have the <pwd.h> header file. */
186 #define HAVE_PWD_H 1
187 
188 /* Define to 1 if you have the `random' function. */
189 #define HAVE_RANDOM 1
190 
191 /* Define to 1 if you have the `realpath' function. */
192 #define HAVE_REALPATH 1
193 
194 /* Define to 1 if you have the `regcomp' function. */
195 #define HAVE_REGCOMP 1
196 
197 /* Define to 1 if you have the <regex.h> header file. */
198 #define HAVE_REGEX_H 1
199 
200 /* Define to 1 if you have the `setlocale' function. */
201 /* #undef HAVE_SETLOCALE */
202 
203 /* Define to 1 if you have the `setxattr' function. */
204 /* #undef HAVE_SETXATTR */
205 
206 /* Define to 1 if you have the `snprintf' function. */
207 #define HAVE_SNPRINTF 1
208 
209 /* Define to 1 if `stat' has the bug that it succeeds when given the
210    zero-length file name argument. */
211 /* #undef HAVE_STAT_EMPTY_STRING_BUG */
212 
213 /* Define to 1 if you have the <stdarg.h> header file. */
214 #define HAVE_STDARG_H 1
215 
216 /* Define to 1 if stdbool.h conforms to C99. */
217 #define HAVE_STDBOOL_H 1
218 
219 /* Define to 1 if you have the <stddef.h> header file. */
220 #define HAVE_STDDEF_H 1
221 
222 /* Define to 1 if you have the <stdint.h> header file. */
223 #define HAVE_STDINT_H 1
224 
225 /* Define to 1 if you have the <stdio.h> header file. */
226 #define HAVE_STDIO_H 1
227 
228 /* Define to 1 if you have the <stdlib.h> header file. */
229 #define HAVE_STDLIB_H 1
230 
231 /* Define to 1 if you have the `strcasecmp' function. */
232 #define HAVE_STRCASECMP 1
233 
234 /* Define to 1 if you have the `strchr' function. */
235 #define HAVE_STRCHR 1
236 
237 /* Define to 1 if you have the `strdup' function. */
238 #define HAVE_STRDUP 1
239 
240 /* Define to 1 if you have the `strerror' function. */
241 #define HAVE_STRERROR 1
242 
243 /* Define to 1 if you have the `strftime' function. */
244 #define HAVE_STRFTIME 1
245 
246 /* Define to 1 if you have the <strings.h> header file. */
247 #define HAVE_STRINGS_H 1
248 
249 /* Define to 1 if you have the <string.h> header file. */
250 #define HAVE_STRING_H 1
251 
252 /* Define to 1 if you have the `strnlen' function. */
253 #define HAVE_STRNLEN 1
254 
255 /* Define to 1 if you have the `strsep' function. */
256 /* #undef HAVE_STRSEP */
257 
258 /* Define to 1 if you have the `strtol' function. */
259 #define HAVE_STRTOL 1
260 
261 /* Define to 1 if you have the `strtoul' function. */
262 #define HAVE_STRTOUL 1
263 
264 /* Define to 1 if `st_atim' is a member of `struct stat'. */
265 #define HAVE_STRUCT_STAT_ST_ATIM 1
266 
267 /* Define to 1 if `st_atimensec' is a member of `struct stat'. */
268 /* #undef HAVE_STRUCT_STAT_ST_ATIMENSEC */
269 
270 /* Define to 1 if `st_atimespec' is a member of `struct stat'. */
271 /* #undef HAVE_STRUCT_STAT_ST_ATIMESPEC */
272 
273 /* Define to 1 if `st_blocks' is a member of `struct stat'. */
274 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
275 
276 /* Define to 1 if `st_rdev' is a member of `struct stat'. */
277 #define HAVE_STRUCT_STAT_ST_RDEV 1
278 
279 /* Define to 1 if your `struct stat' has `st_blocks'. Deprecated, use
280    `HAVE_STRUCT_STAT_ST_BLOCKS' instead. */
281 #define HAVE_ST_BLOCKS 1
282 
283 /* Define to 1 if you have the `sysconf' function. */
284 #define HAVE_SYSCONF 1
285 
286 /* Define to 1 if you have the <syslog.h> header file. */
287 /* #undef HAVE_SYSLOG_H */
288 
289 /* Define to 1 if you have the <sys/byteorder.h> header file. */
290 /* #undef HAVE_SYS_BYTEORDER_H */
291 
292 /* Define to 1 if you have the <sys/disk.h> header file. */
293 /* #undef HAVE_SYS_DISK_H */
294 
295 /* Define to 1 if you have the <sys/endian.h> header file. */
296 /* #undef HAVE_SYS_ENDIAN_H */
297 
298 /* Define to 1 if you have the <sys/ioctl.h> header file. */
299 #define HAVE_SYS_IOCTL_H 1
300 
301 /* Define to 1 if you have the <sys/mount.h> header file. */
302 /* #undef HAVE_SYS_MOUNT_H */
303 
304 /* Define to 1 if you have the <sys/param.h> header file. */
305 #define HAVE_SYS_PARAM_H 1
306 
307 /* Define to 1 if you have the <sys/statvfs.h> header file. */
308 #define HAVE_SYS_STATVFS_H 1
309 
310 /* Define to 1 if you have the <sys/stat.h> header file. */
311 #define HAVE_SYS_STAT_H 1
312 
313 /* Define to 1 if you have the <sys/types.h> header file. */
314 #define HAVE_SYS_TYPES_H 1
315 
316 /* Define to 1 if you have the <sys/vfs.h> header file. */
317 /* #undef HAVE_SYS_VFS_H */
318 
319 /* Define to 1 if you have the <time.h> header file. */
320 #define HAVE_TIME_H 1
321 
322 /* Define to 1 if you have the <unistd.h> header file. */
323 #define HAVE_UNISTD_H 1
324 
325 /* Define to 1 if you have the `utime' function. */
326 #define HAVE_UTIME 1
327 
328 /* Define to 1 if you have the `utimensat' function. */
329 #define HAVE_UTIMENSAT 1
330 
331 /* Define to 1 if you have the <utime.h> header file. */
332 #define HAVE_UTIME_H 1
333 
334 /* Define to 1 if `utime(file, NULL)' sets file's timestamp to the present. */
335 #define HAVE_UTIME_NULL 1
336 
337 /* Define to 1 if you have the `vprintf' function. */
338 #define HAVE_VPRINTF 1
339 
340 /* Define to 1 if you have the <wchar.h> header file. */
341 #define HAVE_WCHAR_H 1
342 
343 /* Define to 1 if you have the <windows.h> header file. */
344 /* #undef HAVE_WINDOWS_H */
345 
346 /* Define to 1 if the system has the type `_Bool'. */
347 #define HAVE__BOOL 1
348 
349 /* Don't update /etc/mtab */
350 /* #undef IGNORE_MTAB */
351 
352 /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
353    slash. */
354 /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */
355 
356 /* Define to the sub-directory where libtool stores uninstalled libraries. */
357 #define LT_OBJDIR ".libs/"
358 
359 /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
360    */
361 /* #undef MAJOR_IN_MKDEV */
362 
363 /* Define to 1 if `major', `minor', and `makedev' are declared in
364    <sysmacros.h>. */
365 /* #undef MAJOR_IN_SYSMACROS */
366 
367 /* Don't use default IO ops */
368 /* #undef NO_NTFS_DEVICE_DEFAULT_IO_OPS */
369 
370 /* Name of package */
371 #define PACKAGE "ntfs-3g"
372 
373 /* Define to the address where bug reports for this package should be sent. */
374 #define PACKAGE_BUGREPORT ""
375 
376 /* Define to the full name of this package. */
377 #define PACKAGE_NAME ""
378 
379 /* Define to the full name and version of this package. */
380 #define PACKAGE_STRING ""
381 
382 /* Define to the one symbol short name of this package. */
383 #define PACKAGE_TARNAME ""
384 
385 /* Define to the home page for this package. */
386 #define PACKAGE_URL ""
387 
388 /* Define to the version of this package. */
389 #define PACKAGE_VERSION "2017.3.23"
390 
391 /* POSIX ACL support */
392 /* #undef POSIXACLS */
393 
394 /* Define to 1 if you have the ANSI C header files. */
395 #define STDC_HEADERS 1
396 
397 /* Enable extensions on AIX 3, Interix.  */
398 #ifndef _ALL_SOURCE
399 # define _ALL_SOURCE 1
400 #endif
401 /* Enable GNU extensions on systems that have them.  */
402 #ifndef _GNU_SOURCE
403 # define _GNU_SOURCE 1
404 #endif
405 /* Enable threading extensions on Solaris.  */
406 #ifndef _POSIX_PTHREAD_SEMANTICS
407 # define _POSIX_PTHREAD_SEMANTICS 1
408 #endif
409 /* Enable extensions on HP NonStop.  */
410 #ifndef _TANDEM_SOURCE
411 # define _TANDEM_SOURCE 1
412 #endif
413 /* Enable general extensions on Solaris.  */
414 #ifndef __EXTENSIONS__
415 # define __EXTENSIONS__ 1
416 #endif
417 
418 
419 /* Version number of package */
420 #define VERSION "2021.8.22"
421 
422 /* Define to 1 if this is a Windows OS */
423 /* #undef WINDOWS */
424 
425 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
426    significant byte first (like Motorola and SPARC, unlike Intel). */
427 #if defined AC_APPLE_UNIVERSAL_BUILD
428 # if defined __BIG_ENDIAN__
429 #  define WORDS_BIGENDIAN 1
430 # endif
431 #else
432 # ifndef WORDS_BIGENDIAN
433 /* #  undef WORDS_BIGENDIAN */
434 # endif
435 #endif
436 
437 /* Define to 1 if your processor stores words with the least significant byte
438    first (like Intel and VAX, unlike Motorola and SPARC). */
439 #define WORDS_LITTLEENDIAN 1
440 
441 /* system extended attributes mappings */
442 /* #undef XATTR_MAPPINGS */
443 
444 /* Enable large inode numbers on Mac OS X 10.5.  */
445 #ifndef _DARWIN_USE_64_BIT_INODE
446 # define _DARWIN_USE_64_BIT_INODE 1
447 #endif
448 
449 /* Number of bits in a file offset, on hosts where this is settable. */
450 /* #undef _FILE_OFFSET_BITS */
451 
452 /* Define for large files, on AIX-style hosts. */
453 /* #undef _LARGE_FILES */
454 
455 /* Define to 1 if on MINIX. */
456 /* #undef _MINIX */
457 
458 /* Define to 2 if the system does not provide POSIX.1 features except with
459    this defined. */
460 /* #undef _POSIX_1_SOURCE */
461 
462 /* Define to 1 if you need to in order for `stat' and other things to work. */
463 /* #undef _POSIX_SOURCE */
464 
465 /* Required define if using POSIX threads */
466 /* #undef _REENTRANT */
467 
468 /* Define to empty if `const' does not conform to ANSI C. */
469 /* #undef const */
470 
471 /* Define to `__inline__' or `__inline' if that's what the C compiler
472    calls it, or to nothing if 'inline' is not supported under any name.  */
473 #ifndef __cplusplus
474 /* #undef inline */
475 #endif
476 
477 /* Define to `long int' if <sys/types.h> does not define. */
478 /* #undef off_t */
479 
480 /* Define to `unsigned int' if <sys/types.h> does not define. */
481 /* #undef size_t */
482