Advertisement
dominus

Untitled

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