config_windows.h 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583
  1. /* config.h. Generated from config.h.in by configure. */
  2. /* config.h.in. Generated from configure.ac by autoheader. */
  3. #ifndef CONFIG_H_INCLUDED
  4. #define CONFIG_H_INCLUDED
  5. ///////////////////////////////////////////////////////////////////////////
  6. // Check for Watcom and Microsoft Visual C compilers (WIN32 only) ///////
  7. ///////////////////////////////////////////////////////////////////////////
  8. #if (defined(__WIN32__) || defined(_WIN32) || defined(__WIN32)) && !defined(__CYGWIN__)
  9. #define IS_WIN32 1
  10. #if defined(__TURBOC__) || defined(__BORLANDC__) /* Borland compilers */
  11. #elif defined( __WATCOMC__ ) || defined(__WATCOMCPP__) /* Watcom compilers */
  12. #define IS_WATCOM 1
  13. /* Define to 1 if __INT64 is defined */
  14. #elif defined(__IBMC__) || defined(__IBMCPP__) /* IBM compilers */
  15. #elif defined( __SC__ ) /* Symantec C++ compilers */
  16. #elif defined( M_I86 ) && defined( MSDOS ) /* Microsoft DOS/Win 16 compilers */
  17. #elif defined( _M_IX86 ) || defined( _68K_ ) /* Microsoft Win32 compilers */
  18. #define IS_VISUALC 1
  19. /* Define to 1 if __INT64 is defined */
  20. #else
  21. #endif
  22. /* Define to 1 if UID should be unsigned */
  23. #define USE_UNSIGNED_UID 1
  24. /* Define to 1 if UID should be unsigned */
  25. #define USE_UNSIGNED_GID 1
  26. #endif
  27. ///////////////////////////////////////////////////////////////////////////
  28. ///////////////////////////////////////////////////////////////////////////
  29. /* Define to 1 if you have the `acl_create_entry' function. */
  30. /* #undef HAVE_ACL_CREATE_ENTRY */
  31. /* Define to 1 if you have the `acl_get_perm' function. */
  32. /* #undef HAVE_ACL_GET_PERM */
  33. /* Define to 1 if you have the `acl_get_perm_np' function. */
  34. /* #undef HAVE_ACL_GET_PERM_NP */
  35. /* Define to 1 if you have the `acl_init' function. */
  36. /* #undef HAVE_ACL_INIT */
  37. /* Define to 1 if the system has the type `acl_permset_t'. */
  38. /* #undef HAVE_ACL_PERMSET_T */
  39. /* Define to 1 if you have the `acl_set_fd' function. */
  40. /* #undef HAVE_ACL_SET_FD */
  41. /* Define to 1 if you have the `acl_set_fd_np' function. */
  42. /* #undef HAVE_ACL_SET_FD_NP */
  43. /* Define to 1 if you have the `acl_set_file' function. */
  44. /* #undef HAVE_ACL_SET_FILE */
  45. /* True for systems with POSIX ACL support */
  46. /* #undef HAVE_ACL_USER */
  47. /* Define to 1 if you have the <attr/xattr.h> header file. */
  48. /* #undef HAVE_ATTR_XATTR_H */
  49. /* Define to 1 if you have the <bzlib.h> header file. */
  50. /* #undef HAVE_BZLIB_H */
  51. /* Define to 1 if you have the `chflags' function. */
  52. /* #undef HAVE_CHFLAGS */
  53. /* Define to 1 if you have the `chown' function. */
  54. /* #undef HAVE_CHOWN */
  55. /* Define to 1 if you have the declaration of `INT64_MAX', and to 0 if you
  56. don't. */
  57. #if defined(_MSC_VER)
  58. /* #undef HAVE_DECL_INT64_MAX */
  59. #else
  60. #define HAVE_DECL_INT64_MAX 1
  61. #endif
  62. /* Define to 1 if you have the declaration of `INT64_MIN', and to 0 if you
  63. don't. */
  64. #if defined(_MSC_VER)
  65. /* #undef HAVE_DECL_INT64_MIN */
  66. #else
  67. #define HAVE_DECL_INT64_MIN 1
  68. #endif
  69. /* Define to 1 if you have the declaration of `optarg', and to 0 if you don't.
  70. */
  71. /* #undef HAVE_DECL_OPTARG */
  72. /* Define to 1 if you have the declaration of `optind', and to 0 if you don't.
  73. */
  74. /* #undef HAVE_DECL_OPTIND */
  75. /* Define to 1 if you have the declaration of `SIZE_MAX', and to 0 if you
  76. don't. */
  77. #if defined(_MSC_VER)
  78. #if _MSC_VER >= 1400
  79. #define HAVE_DECL_SIZE_MAX 1
  80. #else
  81. /* #undef HAVE_DECL_SIZE_MAX */
  82. #endif
  83. #else
  84. #define HAVE_DECL_SIZE_MAX 1
  85. #endif
  86. /* Define to 1 if you have the declaration of `SSIZE_MAX', and to 0 if you
  87. don't. */
  88. /* #undef HAVE_DECL_SSIZE_MAX */
  89. /* Define to 1 if you have the declaration of `strerror_r', and to 0 if you
  90. don't. */
  91. /* #undef HAVE_DECL_STRERROR_R */
  92. /* Define to 1 if you have the declaration of `UINT32_MAX', and to 0 if you
  93. don't. */
  94. #if defined(_MSC_VER)
  95. /* #undef HAVE_DECL_UINT32_MAX */
  96. #else
  97. #define HAVE_DECL_UINT32_MAX 1
  98. #endif
  99. /* Define to 1 if you have the declaration of `UINT64_MAX', and to 0 if you
  100. don't. */
  101. #if defined(_MSC_VER)
  102. /* #undef HAVE_DECL_UINT64_MAX */
  103. #else
  104. #define HAVE_DECL_UINT64_MAX 1
  105. #endif
  106. /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
  107. */
  108. /* #undef HAVE_DIRENT_H */
  109. /* Define to 1 if you have the <dlfcn.h> header file. */
  110. /* #undef HAVE_DLFCN_H */
  111. /* Define to 1 if you don't have `vprintf' but do have `_doprnt.' */
  112. /* #undef HAVE_DOPRNT */
  113. /* Define to 1 if nl_langinfo supports D_MD_ORDER */
  114. /* #undef HAVE_D_MD_ORDER */
  115. /* A possible errno value for invalid file format errors */
  116. /* #undef HAVE_EFTYPE */
  117. /* A possible errno value for invalid file format errors */
  118. #define HAVE_EILSEQ 1
  119. /* Define to 1 if you have the <errno.h> header file. */
  120. #define HAVE_ERRNO_H 1
  121. /* Define to 1 if you have the <ext2fs/ext2_fs.h> header file. */
  122. /* #undef HAVE_EXT2FS_EXT2_FS_H */
  123. /* Define to 1 if you have the `fchdir' function. */
  124. /* #undef HAVE_FCHDIR */
  125. /* Define to 1 if you have the `fchflags' function. */
  126. /* #undef HAVE_FCHFLAGS */
  127. /* Define to 1 if you have the `fchmod' function. */
  128. /* #undef HAVE_FCHMOD */
  129. /* Define to 1 if you have the `fchown' function. */
  130. /* #undef HAVE_FCHOWN */
  131. /* Define to 1 if you have the <fcntl.h> header file. */
  132. #define HAVE_FCNTL_H 1
  133. /* Define to 1 if you have the fcntl() function. */
  134. /* #undef HAVE_FCNTL_FN */
  135. /* Define to 1 if your system has a working POSIX `fnmatch' function. */
  136. /* #undef HAVE_FNMATCH */
  137. /* Define to 1 if fnmatch(3) supports the FNM_LEADING_DIR flag */
  138. /* #undef HAVE_FNM_LEADING_DIR */
  139. /* Define to 1 if fseeko (and presumably ftello) exists and is declared. */
  140. /* #undef HAVE_FSEEKO */
  141. /* Define to 1 if you have the `fsetxattr' function. */
  142. /* #undef HAVE_FSETXATTR */
  143. /* Define to 1 if you have the `ftruncate' function. */
  144. #define HAVE_FTRUNCATE 1
  145. /* Define to 1 if you have the `futimes' function. */
  146. #define HAVE_FUTIMES 1
  147. /* Define to 1 if you have the `geteuid' function. */
  148. /* #undef HAVE_GETEUID */
  149. /* Define to 1 if you have the `getxattr' function. */
  150. /* #undef HAVE_GETXATTR */
  151. /* Define to 1 if you have the <grp.h> header file. */
  152. /* #undef HAVE_GRP_H */
  153. /* Define to 1 if the system has the type `intmax_t'. */
  154. /* #undef HAVE_INTMAX_T */
  155. /* Define to 1 if you have the <inttypes.h> header file. */
  156. /* #undef HAVE_INTTYPES_H */
  157. /* Define to 1 if you have the <langinfo.h> header file. */
  158. /* #undef HAVE_LANGINFO_H */
  159. /* Define to 1 if you have the `lchflags' function. */
  160. /* #undef HAVE_LCHFLAGS */
  161. /* Define to 1 if you have the `lchmod' function. */
  162. /* #undef HAVE_LCHMOD */
  163. /* Define to 1 if you have the `lchown' function. */
  164. /* #undef HAVE_LCHOWN */
  165. /* Define to 1 if you have the `lgetxattr' function. */
  166. /* #undef HAVE_LGETXATTR */
  167. /* Define to 1 if you have the `acl' library (-lacl). */
  168. /* #undef HAVE_LIBACL */
  169. /* Define to 1 if you have the `attr' library (-lattr). */
  170. /* #undef HAVE_LIBATTR */
  171. /* Define to 1 if you have the `bz2' library (-lbz2). */
  172. /* #undef HAVE_LIBBZ2 */
  173. /* Define to 1 if you have the `z' library (-lz). */
  174. /* #undef HAVE_LIBZ */
  175. /* Define to 1 if you have the <limits.h> header file. */
  176. #define HAVE_LIMITS_H 1
  177. /* Define to 1 if you have the <linux/ext2_fs.h> header file. */
  178. /* #undef HAVE_LINUX_EXT2_FS_H */
  179. /* Define to 1 if you have the <linux/fs.h> header file. */
  180. /* #undef HAVE_LINUX_FS_H */
  181. /* Define to 1 if you have the `listxattr' function. */
  182. /* #undef HAVE_LISTXATTR */
  183. /* Define to 1 if you have the `llistxattr' function. */
  184. /* #undef HAVE_LLISTXATTR */
  185. /* Define to 1 if you have the <locale.h> header file. */
  186. #define HAVE_LOCALE_H 1
  187. /* Define to 1 if the system has the type `long long int'. */
  188. #define HAVE_LONG_LONG_INT 1
  189. /* Define to 1 if you have the `lsetxattr' function. */
  190. /* #undef HAVE_LSETXATTR */
  191. /* Define to 1 if `lstat' has the bug that it succeeds when given the
  192. zero-length file name argument. */
  193. /* #undef HAVE_LSTAT_EMPTY_STRING_BUG */
  194. /* Define to 1 if you have the `lutimes' function. */
  195. /* #undef HAVE_LUTIMES */
  196. /* Define to 1 if you have the `memmove' function. */
  197. #define HAVE_MEMMOVE 1
  198. /* Define to 1 if you have the <memory.h> header file. */
  199. #define HAVE_MEMORY_H 1
  200. /* Define to 1 if you have the `memset' function. */
  201. #define HAVE_MEMSET 1
  202. /* Define to 1 if you have the `mkdir' function. */
  203. #define HAVE_MKDIR 1
  204. /* Define to 1 if you have the `mkfifo' function. */
  205. /* #undef HAVE_MKFIFO */
  206. /* Define to 1 if you have the `mknod' function. */
  207. /* #undef HAVE_MKNOD */
  208. /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
  209. /* #undef HAVE_NDIR_H */
  210. /* Define to 1 if you have the `nl_langinfo' function. */
  211. /* #undef HAVE_NL_LANGINFO */
  212. /* Define to 1 if you have the <paths.h> header file. */
  213. /* #undef HAVE_PATHS_H */
  214. /* Define to 1 if you have the `poll' function. */
  215. /* #undef HAVE_POLL */
  216. /* Define to 1 if you have the <poll.h> header file. */
  217. /* #undef HAVE_POLL_H */
  218. /* Define to 1 if you have the <pwd.sh.h> header file. */
  219. /* #undef HAVE_PWD_H */
  220. /* Define to 1 if you have the `select' function. */
  221. /* #undef HAVE_SELECT */
  222. /* Define to 1 if you have the `setlocale' function. */
  223. #define HAVE_SETLOCALE 1
  224. /* Define to 1 if `stat' has the bug that it succeeds when given the
  225. zero-length file name argument. */
  226. /* #undef HAVE_STAT_EMPTY_STRING_BUG */
  227. /* Define to 1 if you have the <stdarg.h> header file. */
  228. #define HAVE_STDARG_H 1
  229. /* Define to 1 if you have the <stdint.h> header file. */
  230. #if defined(_MSC_VER)
  231. /* #undef HAVE_STDINT_H */
  232. #else
  233. #define HAVE_STDINT_H 1
  234. #endif
  235. /* Define to 1 if you have the <stdlib.h> header file. */
  236. #define HAVE_STDLIB_H 1
  237. /* Define to 1 if you have the `strchr' function. */
  238. #define HAVE_STRCHR 1
  239. /* Define to 1 if you have the `strdup' function. */
  240. #define HAVE_STRDUP 1
  241. /* Define to 1 if you have the `strerror' function. */
  242. #define HAVE_STRERROR 1
  243. /* Define to 1 if you have the `strerror_r' function. */
  244. /* #undef HAVE_STRERROR_R */
  245. /* Define to 1 if you have the `strftime' function. */
  246. #define HAVE_STRFTIME 1
  247. /* Define to 1 if you have the <strings.h> header file. */
  248. #define HAVE_STRINGS_H 1
  249. /* Define to 1 if you have the <string.h> header file. */
  250. #define HAVE_STRING_H 1
  251. /* Define to 1 if you have the `strrchr' function. */
  252. #define HAVE_STRRCHR 1
  253. /* Define to 1 if `st_mtimespec.tv_nsec' is member of `struct stat'. */
  254. /* #undef HAVE_STRUCT_STAT_ST_MTIMESPEC_TV_NSEC */
  255. /* Define to 1 if `st_mtim.tv_nsec' is member of `struct stat'. */
  256. /* #undef HAVE_STRUCT_STAT_ST_MTIM_TV_NSEC */
  257. /* Define to 1 if you have the <sys/acl.h> header file. */
  258. /* #undef HAVE_SYS_ACL_H */
  259. /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
  260. */
  261. /* #undef HAVE_SYS_DIR_H */
  262. /* Define to 1 if you have the <sys/ioctl.h> header file. */
  263. /* #undef HAVE_SYS_IOCTL_H */
  264. /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
  265. */
  266. /* #undef HAVE_SYS_NDIR_H */
  267. /* Define to 1 if you have the <sys/param.h> header file. */
  268. /* #undef HAVE_SYS_PARAM_H */
  269. /* Define to 1 if you have the <sys/poll.h> header file. */
  270. /* #undef HAVE_SYS_POLL_H */
  271. /* Define to 1 if you have the <sys/select.h> header file. */
  272. /* #undef HAVE_SYS_SELECT_H */
  273. /* Define to 1 if you have the <sys/stat.h> header file. */
  274. #define HAVE_SYS_STAT_H 1
  275. /* Define to 1 if you have the <sys/time.h> header file. */
  276. #if defined(_MSC_VER)
  277. /* #undef HAVE_SYS_TIME_H */
  278. #else
  279. #define HAVE_SYS_TIME_H 1
  280. #endif
  281. /* Define to 1 if you have the <sys/types.h> header file. */
  282. #define HAVE_SYS_TYPES_H 1
  283. /* Define to 1 if you have the <sys/utime.h> header file. */
  284. #define HAVE_SYS_UTIME_H 1
  285. /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
  286. /* #undef HAVE_SYS_WAIT_H */
  287. /* Define to 1 if you have the `timegm' function. */
  288. /* #undef HAVE_TIMEGM */
  289. /* Define to 1 if you have the <time.h> header file. */
  290. #define HAVE_TIME_H 1
  291. /* Define to 1 if the system has the type `uintmax_t'. */
  292. #if defined(_MSC_VER)
  293. /* #undef HAVE_UINTMAX_T */
  294. #else
  295. #define HAVE_UINTMAX_T 1
  296. #endif
  297. /* Define to 1 if you have the <unistd.h> header file. */
  298. #if defined(_MSC_VER)
  299. /* #undef HAVE_UNISTD_H */
  300. #else
  301. #define HAVE_UNISTD_H 1
  302. #endif
  303. /* Define to 1 if the system has the type `unsigned long long'. */
  304. #define HAVE_UNSIGNED_LONG_LONG 1
  305. /* Define to 1 if the system has the type `unsigned long long int'. */
  306. #define HAVE_UNSIGNED_LONG_LONG_INT 1
  307. /* Define to 1 if you have the `utime' function. */
  308. #define HAVE_UTIME 1
  309. /* Define to 1 if you have the `utimes' function. */
  310. #define HAVE_UTIMES 1
  311. /* Define to 1 if you have the <utime.h> header file. */
  312. /* #undef HAVE_UTIME_H */
  313. /* Define to 1 if you have the `vprintf' function. */
  314. #define HAVE_VPRINTF 1
  315. /* Define to 1 if you have the <wchar.h> header file. */
  316. #define HAVE_WCHAR_H 1
  317. /* Define to 1 if you have the `wcscpy' function. */
  318. #define HAVE_WCSCPY 1
  319. /* Define to 1 if you have the `wcslen' function. */
  320. #define HAVE_WCSLEN 1
  321. /* Define to 1 if you have the `wctomb' function. */
  322. #define HAVE_WCTOMB 1
  323. /* Define to 1 if you have the `wmemcmp' function. */
  324. /* #undef HAVE_WMEMCMP */
  325. /* Define to 1 if you have the `wmemcpy' function. */
  326. /* #undef HAVE_WMEMCPY */
  327. /* Define to 1 if you have the <zlib.h> header file. */
  328. /* #undef HAVE_ZLIB_H */
  329. /* Define to 1 if `lstat' dereferences a symlink specified with a trailing
  330. slash. */
  331. /* #undef LSTAT_FOLLOWS_SLASHED_SYMLINK */
  332. /* Define to 1 if `major', `minor', and `makedev' are declared in <mkdev.h>.
  333. */
  334. /* #undef MAJOR_IN_MKDEV */
  335. /* Define to 1 if `major', `minor', and `makedev' are declared in
  336. <sysmacros.h>. */
  337. /* #undef MAJOR_IN_SYSMACROS */
  338. /* Define to 1 if your C compiler doesn't accept -c and -o together. */
  339. /* #undef NO_MINUS_C_MINUS_O */
  340. /* Define to 1 if you have the ANSI C header files. */
  341. #define STDC_HEADERS 1
  342. /* Define to 1 if strerror_r returns char *. */
  343. /* #undef STRERROR_R_CHAR_P */
  344. /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
  345. #define TIME_WITH_SYS_TIME 1
  346. /* Number of bits in a file offset, on hosts where this is settable. */
  347. /* #undef _FILE_OFFSET_BITS */
  348. /* Define to 1 to make fseeko visible on some hosts (e.g. glibc 2.2). */
  349. /* #undef _LARGEFILE_SOURCE */
  350. /* Define for large files, on AIX-style hosts. */
  351. /* #undef _LARGE_FILES */
  352. /* Define for Solaris 2.5.1 so the uint64_t typedef from <sys/synch.h>,
  353. <pthread.h>, or <semaphore.h> is not used. If the typedef was allowed, the
  354. #define below would cause a syntax error. */
  355. /* #undef _UINT64_T */
  356. /* Define to empty if `const' does not conform to ANSI C. */
  357. /* #undef const */
  358. /* Define to `int' if <sys/types.h> doesn't define. */
  359. #if (USE_UNSIGNED_GID)
  360. #define gid_t unsigned int
  361. #else
  362. #define gid_t int
  363. #endif
  364. /* Define to `unsigned long' if <sys/types.h> does not define. */
  365. #define id_t int
  366. /* Define to the type of a signed integer type of width exactly 64 bits if
  367. such a type exists and the standard includes do not define it. */
  368. #if defined(_MSC_VER)
  369. #define int64_t __int64
  370. #else
  371. /* #undef int64_t */
  372. #endif
  373. /* Define to the widest signed integer type if <stdint.h> and <inttypes.h> do
  374. not define. */
  375. #if defined(_MSC_VER)
  376. #define intmax_t long long
  377. #else
  378. /* #undef intmax_t */
  379. #endif
  380. /* Define to `int' if <sys/types.h> does not define. */
  381. #if defined(_MSC_VER)
  382. #define mode_t unsigned short
  383. #else
  384. /* #undef mode_t */
  385. #endif
  386. /* Define to `long long' if <sys/types.h> does not define. */
  387. /* #undef off_t */
  388. /* Define to `unsigned int' if <sys/types.h> does not define. */
  389. /* #undef size_t */
  390. /* Define to `int' if <sys/types.h> doesn't define. */
  391. #if (USE_UNSIGNED_UID)
  392. #define uid_t unsigned int
  393. #else
  394. #define uid_t int
  395. #endif
  396. /* Define to the type of an unsigned integer type of width exactly 64 bits if
  397. such a type exists and the standard includes do not define it. */
  398. #if defined(_MSC_VER)
  399. #define uint64_t unsigned __int64
  400. #else
  401. /* #undef uint64_t */
  402. #endif
  403. /* Define to the widest unsigned integer type if <stdint.h> and <inttypes.h>
  404. do not define. */
  405. #if defined(_MSC_VER)
  406. #define uintmax_t unsigned long long
  407. #else
  408. /* #undef uintmax_t */
  409. #endif
  410. /* Define to `unsigned int' if <sys/types.h> does not define. */
  411. /* #undef uintptr_t */
  412. /* Define to `unsigned int' if <sys/types.h> does not define. */
  413. #if defined(_MSC_VER)
  414. #define pid_t unsigned int
  415. #else
  416. /* #undef pid_t */
  417. #endif
  418. #if defined(_MSC_VER)
  419. #define uint32_t unsigned long
  420. #define uint16_t unsigned short
  421. #ifdef _WIN64
  422. #define ssize_t __int64
  423. #else
  424. #define ssize_t long
  425. #endif
  426. #endif
  427. #include "archive_windows.h"
  428. #endif /* CONFIG_H_INCLUDED */