Advertisement
dominus

Untitled

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