Advertisement
dominus

Untitled

Oct 2nd, 2020
298
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 9.04 KB | None | 0 0
  1. /* config.h. Generated from config.h.in by configure. */
  2. /* config.h.in. Generated from configure.ac by autoheader. */
  3.  
  4.  
  5. /*
  6. * Copyright (C) 2002-2020 The DOSBox Team
  7. *
  8. * This program is free software; you can redistribute it and/or modify
  9. * it under the terms of the GNU General Public License as published by
  10. * the Free Software Foundation; either version 2 of the License, or
  11. * (at your option) any later version.
  12. *
  13. * This program is distributed in the hope that it will be useful,
  14. * but WITHOUT ANY WARRANTY; without even the implied warranty of
  15. * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  16. * GNU Library General Public License for more details.
  17. *
  18. * You should have received a copy of the GNU General Public License along
  19. * with this program; if not, write to the Free Software Foundation, Inc.,
  20. * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
  21. */
  22.  
  23.  
  24. /* Define if building universal (internal helper macro) */
  25. /* #undef AC_APPLE_UNIVERSAL_BUILD */
  26.  
  27. /* Compiling on BSD */
  28. /* #undef BSD */
  29.  
  30. /* Determines if the compiler supports always_inline attribute. */
  31. #define C_ATTRIBUTE_ALWAYS_INLINE 1
  32.  
  33. /* Determines if the compiler supports fastcall attribute. */
  34. /* #undef C_ATTRIBUTE_FASTCALL */
  35.  
  36. /* Define to 1 to use inlined memory functions in cpu core */
  37. #define C_CORE_INLINE 1
  38.  
  39. /* Define to 1 to enable output=ddraw (Win32) */
  40. /* #undef C_DDRAW */
  41.  
  42. /* Define to 1 to enable internal debugger, requires libcurses */
  43. /* #undef C_DEBUG */
  44.  
  45. /* Define to 1 if you want serial passthrough support (Win32, Posix and OS/2).
  46. */
  47. #define C_DIRECTSERIAL 1
  48.  
  49. /* Define to 1 to use x86/x64 dynamic cpu core */
  50. /* #undef C_DYNAMIC_X86 */
  51.  
  52. /* Define to 1 to use recompiling cpu core. Can not be used together with the
  53. dynamic-x86 core */
  54. #define C_DYNREC 1
  55.  
  56. /* Define to 1 to enable floating point emulation */
  57. #define C_FPU 1
  58.  
  59. /* Define to 1 to use a x86/x64 assembly fpu core */
  60. /* #undef C_FPU_X86 */
  61.  
  62. /* Determines if the compiler supports attributes for structures. */
  63. #define C_HAS_ATTRIBUTE 1
  64.  
  65. /* Determines if the compilers supports __builtin_expect for branch
  66. prediction. */
  67. #define C_HAS_BUILTIN_EXPECT 1
  68.  
  69. /* Define to 1 if you have the mmap function */
  70. #define C_HAVE_MMAP 1
  71.  
  72. /* Define to 1 if you have shared memory support */
  73. /* #undef C_HAVE_SHMEM */
  74.  
  75. /* Define to 1 to enable heavy debugging, also have to enable C_DEBUG */
  76. /* #undef C_HEAVY_DEBUG */
  77.  
  78. /* Define to 1 to enable IPX over Internet networking, requires SDL_net */
  79. #define C_IPX 1
  80.  
  81. /* Define to 1 to enable internal modem support, requires SDL_net */
  82. #define C_MODEM 1
  83.  
  84. /* Define to 1 to use opengl display output support */
  85. #define C_OPENGL 1
  86.  
  87. /* Define to 1 to enable SDL_sound support */
  88. #define C_SDL_SOUND 1
  89.  
  90. /* Define to 1 if you have setpriority support */
  91. /* #undef C_SET_PRIORITY */
  92.  
  93. /* Define to 1 to enable movie recording, requires zlib built without Z_SOLO
  94. */
  95. #define C_SRECORD 1
  96.  
  97. /* Define to 1 to enable screenshots, requires libpng */
  98. #define C_SSHOT 1
  99.  
  100. /* Compiler supports Core Audio headers */
  101. #define C_SUPPORTS_COREAUDIO /**/
  102.  
  103. /* Compiler supports Core MIDI headers */
  104. #define C_SUPPORTS_COREMIDI /**/
  105.  
  106. /* The type of cpu this target has */
  107. #define C_TARGETCPU ARMV8LE
  108.  
  109. /* Define to 1 to use a unaligned memory access */
  110. #define C_UNALIGNED_MEMORY 1
  111.  
  112. /* define to 1 if you have XKBlib.h and X11 lib */
  113. /* #undef C_X11_XKB */
  114.  
  115. /* Determines if the function clock_gettime is available. */
  116. #define DB_HAVE_CLOCK_GETTIME 1
  117.  
  118. /* libm doesn't include powf */
  119. /* #undef DB_HAVE_NO_POWF */
  120.  
  121. /* struct dirent has d_type */
  122. #define DIRENT_HAS_D_TYPE 1
  123.  
  124. /* environ can be included */
  125. /* #undef ENVIRON_INCLUDED */
  126.  
  127. /* environ can be linked */
  128. #define ENVIRON_LINKED 1
  129.  
  130. /* Define to 1 to use ALSA for MIDI */
  131. /* #undef HAVE_ALSA */
  132.  
  133. /* Define to 1 if you have the <inttypes.h> header file. */
  134. #define HAVE_INTTYPES_H 1
  135.  
  136. /* Define to 1 if you have the `asound' library (-lasound). */
  137. /* #undef HAVE_LIBASOUND */
  138.  
  139. /* Define to 1 if you have the <memory.h> header file. */
  140. #define HAVE_MEMORY_H 1
  141.  
  142. /* Define to 1 if you have the <netinet/in.h> header file. */
  143. #define HAVE_NETINET_IN_H 1
  144.  
  145. /* Define to 1 if you have the <pwd.h> header file. */
  146. #define HAVE_PWD_H 1
  147.  
  148. /* Define to 1 if you have the `realpath' function. */
  149. #define HAVE_REALPATH 1
  150.  
  151. /* Define to 1 if you have the <stdint.h> header file. */
  152. #define HAVE_STDINT_H 1
  153.  
  154. /* Define to 1 if you have the <stdlib.h> header file. */
  155. #define HAVE_STDLIB_H 1
  156.  
  157. /* Define to 1 if you have the <strings.h> header file. */
  158. #define HAVE_STRINGS_H 1
  159.  
  160. /* Define to 1 if you have the <string.h> header file. */
  161. #define HAVE_STRING_H 1
  162.  
  163. /* Define to 1 if you have the <sys/socket.h> header file. */
  164. #define HAVE_SYS_SOCKET_H 1
  165.  
  166. /* Define to 1 if you have the <sys/stat.h> header file. */
  167. #define HAVE_SYS_STAT_H 1
  168.  
  169. /* Define to 1 if you have the <sys/types.h> header file. */
  170. #define HAVE_SYS_TYPES_H 1
  171.  
  172. /* Define to 1 if you have the <unistd.h> header file. */
  173. #define HAVE_UNISTD_H 1
  174.  
  175. /* Compiling on GNU/Linux */
  176. /* #undef LINUX */
  177.  
  178. /* Compiling on Mac OS X */
  179. #define MACOSX 1
  180.  
  181. /* Compiling on OS/2 EMX */
  182. /* #undef OS2 */
  183.  
  184. /* Name of package */
  185. #define PACKAGE "dosbox"
  186.  
  187. /* Define to the address where bug reports for this package should be sent. */
  188. #define PACKAGE_BUGREPORT ""
  189.  
  190. /* Define to the full name of this package. */
  191. #define PACKAGE_NAME "dosbox"
  192.  
  193. /* Define to the full name and version of this package. */
  194. #define PACKAGE_STRING "dosbox SVN"
  195.  
  196. /* Define to the one symbol short name of this package. */
  197. #define PACKAGE_TARNAME "dosbox"
  198.  
  199. /* Define to the home page for this package. */
  200. #define PACKAGE_URL ""
  201.  
  202. /* Define to the version of this package. */
  203. #define PACKAGE_VERSION "SVN"
  204.  
  205. /* The size of `int *', as computed by sizeof. */
  206. #define SIZEOF_INT_P 8
  207.  
  208. /* The size of `unsigned char', as computed by sizeof. */
  209. #define SIZEOF_UNSIGNED_CHAR 1
  210.  
  211. /* The size of `unsigned int', as computed by sizeof. */
  212. #define SIZEOF_UNSIGNED_INT 4
  213.  
  214. /* The size of `unsigned long', as computed by sizeof. */
  215. #define SIZEOF_UNSIGNED_LONG 8
  216.  
  217. /* The size of `unsigned long long', as computed by sizeof. */
  218. #define SIZEOF_UNSIGNED_LONG_LONG 8
  219.  
  220. /* The size of `unsigned short', as computed by sizeof. */
  221. #define SIZEOF_UNSIGNED_SHORT 2
  222.  
  223. /* Define to 1 if you have the ANSI C header files. */
  224. #define STDC_HEADERS 1
  225.  
  226. /* Define to 1 if your <sys/time.h> declares `struct tm'. */
  227. /* #undef TM_IN_SYS_TIME */
  228.  
  229. /* Version number of package */
  230. #define VERSION "SVN"
  231.  
  232. /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most
  233. significant byte first (like Motorola and SPARC, unlike Intel). */
  234. #if defined AC_APPLE_UNIVERSAL_BUILD
  235. # if defined __BIG_ENDIAN__
  236. # define WORDS_BIGENDIAN 1
  237. # endif
  238. #else
  239. # ifndef WORDS_BIGENDIAN
  240. /* # undef WORDS_BIGENDIAN */
  241. # endif
  242. #endif
  243.  
  244. /* Define to empty if `const' does not conform to ANSI C. */
  245. /* #undef const */
  246.  
  247. /* Define to `__inline__' or `__inline' if that's what the C compiler
  248. calls it, or to nothing if 'inline' is not supported under any name. */
  249. #ifndef __cplusplus
  250. /* #undef inline */
  251. #endif
  252.  
  253. /* Define to `unsigned int' if <sys/types.h> does not define. */
  254. /* #undef size_t */
  255.  
  256. /* Define to `int` if you don't have socklen_t */
  257. /* #undef socklen_t */
  258.  
  259. #if C_ATTRIBUTE_ALWAYS_INLINE
  260. #define INLINE inline __attribute__((always_inline))
  261. #else
  262. #define INLINE inline
  263. #endif
  264.  
  265. #if C_ATTRIBUTE_FASTCALL
  266. #define DB_FASTCALL __attribute__((fastcall))
  267. #else
  268. #define DB_FASTCALL
  269. #endif
  270.  
  271. #if C_HAS_ATTRIBUTE
  272. #define GCC_ATTRIBUTE(x) __attribute__ ((x))
  273. #else
  274. #define GCC_ATTRIBUTE(x) /* attribute not supported */
  275. #endif
  276.  
  277. #if C_HAS_BUILTIN_EXPECT
  278. #define GCC_UNLIKELY(x) __builtin_expect((x),0)
  279. #define GCC_LIKELY(x) __builtin_expect((x),1)
  280. #else
  281. #define GCC_UNLIKELY(x) (x)
  282. #define GCC_LIKELY(x) (x)
  283. #endif
  284.  
  285.  
  286. typedef double Real64;
  287.  
  288. #if SIZEOF_UNSIGNED_CHAR != 1
  289. # error "sizeof (unsigned char) != 1"
  290. #else
  291. typedef unsigned char Bit8u;
  292. typedef signed char Bit8s;
  293. #endif
  294.  
  295. #if SIZEOF_UNSIGNED_SHORT != 2
  296. # error "sizeof (unsigned short) != 2"
  297. #else
  298. typedef unsigned short Bit16u;
  299. typedef signed short Bit16s;
  300. #endif
  301.  
  302. #if SIZEOF_UNSIGNED_INT == 4
  303. typedef unsigned int Bit32u;
  304. typedef signed int Bit32s;
  305. #define sBit32t
  306. #elif SIZEOF_UNSIGNED_LONG == 4
  307. typedef unsigned long Bit32u;
  308. typedef signed long Bit32s;
  309. #define sBit32t "l"
  310. #else
  311. # error "can't find sizeof(type) of 4 bytes!"
  312. #endif
  313. #define sBit32fs(a) sBit32t #a
  314.  
  315. #if SIZEOF_UNSIGNED_LONG == 8
  316. typedef unsigned long Bit64u;
  317. typedef signed long Bit64s;
  318. #define sBit64t "l"
  319. #elif SIZEOF_UNSIGNED_LONG_LONG == 8
  320. typedef unsigned long long Bit64u;
  321. typedef signed long long Bit64s;
  322. #define sBit64t "ll"
  323. #else
  324. # error "can't find data type of 8 bytes"
  325. #endif
  326. #define sBit64fs(a) sBit64t #a
  327.  
  328. #if SIZEOF_INT_P == 4
  329.  
  330. typedef Bit32u Bitu;
  331. typedef Bit32s Bits;
  332. #define sBitfs sBit32fs
  333.  
  334. #else //SIZEOF_INT_P
  335.  
  336. typedef Bit64u Bitu;
  337. typedef Bit64s Bits;
  338. #define sBitfs sBit64fs
  339.  
  340. #endif
  341.  
  342.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement