DOSBox-X
|
00001 /* config.h. Generated from config.h.in by configure. */ 00002 /* config.h.in. Generated from configure.ac by autoheader. */ 00003 00004 00005 /* 00006 * Copyright (C) 2002-2013 The DOSBox Team 00007 * 00008 * This program is free software; you can redistribute it and/or modify 00009 * it under the terms of the GNU General Public License as published by 00010 * the Free Software Foundation; either version 2 of the License, or 00011 * (at your option) any later version. 00012 * 00013 * This program is distributed in the hope that it will be useful, 00014 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00015 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00016 * GNU Library General Public License for more details. 00017 * 00018 * You should have received a copy of the GNU General Public License 00019 * along with this program; if not, write to the Free Software 00020 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. 00021 */ 00022 00023 00024 /* Define if building universal (internal helper macro) */ 00025 /* #undef AC_APPLE_UNIVERSAL_BUILD */ 00026 00027 /* Compiling on BSD */ 00028 /* #undef BSD */ 00029 00030 /* Determines if the compilers supports always_inline attribute. */ 00031 #define C_ATTRIBUTE_ALWAYS_INLINE 1 00032 00033 /* Determines if the compilers supports fastcall attribute. */ 00034 /* #undef C_ATTRIBUTE_FASTCALL */ 00035 00036 /* Define to 1 to use FFMPEG libavcodec for video capture */ 00037 #define C_AVCODEC 1 00038 00039 /* Define to 1 to use inlined memory functions in cpu core */ 00040 #define C_CORE_INLINE 1 00041 00042 /* Define to 1 to enable internal debugger, requires libcurses */ 00043 #define C_DEBUG 1 00044 00045 /* Define to 1 if you want parallel passthrough support (Win32, Linux). */ 00046 #define C_DIRECTLPT 1 00047 00048 /* Define to 1 if you want serial passthrough support (Win32, Posix and OS/2). 00049 */ 00050 #define C_DIRECTSERIAL 1 00051 00052 /* Define to 1 to use x86 dynamic cpu core */ 00053 /* #undef C_DYNAMIC_X86 */ 00054 00055 /* Define to 1 to enable fluidsynth MIDI synthesis */ 00056 #define C_FLUIDSYNTH 1 00057 00058 /* Define to 1 to enable floating point emulation */ 00059 #define C_FPU 1 00060 00061 /* Determines if the compilers supports attributes for structures. */ 00062 #define C_HAS_ATTRIBUTE 1 00063 00064 /* Determines if the compilers supports __builtin_expect for branch 00065 prediction. */ 00066 #define C_HAS_BUILTIN_EXPECT 1 00067 00068 /* Define to 1 if you have the mprotect function */ 00069 #define C_HAVE_MPROTECT 1 00070 00071 /* Define to 1 to enable heavy debugging, also have to enable C_DEBUG */ 00072 #define C_HEAVY_DEBUG 1 00073 00074 /* Define to 1 to enable IPX over Internet networking, requires SDL_net */ 00075 /* #undef C_IPX */ 00076 00077 /* Define to 1 if you have libpng */ 00078 #define C_LIBPNG 1 00079 00080 /* Define to 1 to enable internal modem support, requires SDL_net */ 00081 /* #undef C_MODEM */ 00082 00083 /* Define to 1 to enable MT32 emulation (x86/x86_64 only) */ 00084 #define C_MT32 1 00085 00086 /* Define to 1 to enable NE2000 ethernet passthrough, requires libpcap */ 00087 #define C_NE2000 1 00088 00089 /* Define to 1 to use opengl display output support */ 00090 #define C_OPENGL 1 00091 00092 /* Set to 1 to enable SDL 1.x support */ 00093 #define C_SDL1 1 00094 00095 /* Set to 1 to enable SDL 2.x support */ 00096 /* #undef C_SDL2 */ 00097 00098 /* Indicate whether SDL_net is present */ 00099 /* #undef C_SDL_NET */ 00100 00101 /* Define to 1 if you have setpriority support */ 00102 #define C_SET_PRIORITY 1 00103 00104 /* Define to 1 to enable screenshots, requires libpng */ 00105 #define C_SSHOT 1 00106 00107 /* The type of cpu this target has */ 00108 #define C_TARGETCPU X86_64 00109 00110 /* Define to 1 to use a unaligned memory access */ 00111 #define C_UNALIGNED_MEMORY 1 00112 00113 /* define to 1 if you have XKBlib.h and X11 lib */ 00114 #define C_X11_XKB 1 00115 00116 /* libm doesn't include powf */ 00117 /* #undef DB_HAVE_NO_POWF */ 00118 00119 /* struct dirent has d_type */ 00120 #define DIRENT_HAS_D_TYPE 1 00121 00122 /* environ can be included */ 00123 /* #undef ENVIRON_INCLUDED */ 00124 00125 /* environ can be linked */ 00126 #define ENVIRON_LINKED 1 00127 00128 /* Define to 1 to use ALSA for MIDI */ 00129 #define HAVE_ALSA 1 00130 00131 /* Define to 1 if you have the <inttypes.h> header file. */ 00132 #define HAVE_INTTYPES_H 1 00133 00134 /* Define to 1 if you have the `asound' library (-lasound). */ 00135 #define HAVE_LIBASOUND 1 00136 00137 /* Define to 1 if you have the <memory.h> header file. */ 00138 #define HAVE_MEMORY_H 1 00139 00140 /* Define to 1 if you have the <netinet/in.h> header file. */ 00141 #define HAVE_NETINET_IN_H 1 00142 00143 /* Define to 1 if you have the <pwd.h> header file. */ 00144 #define HAVE_PWD_H 1 00145 00146 /* Define to 1 if you have the <stdint.h> header file. */ 00147 #define HAVE_STDINT_H 1 00148 00149 /* Define to 1 if you have the <stdlib.h> header file. */ 00150 #define HAVE_STDLIB_H 1 00151 00152 /* Define to 1 if you have the <strings.h> header file. */ 00153 #define HAVE_STRINGS_H 1 00154 00155 /* Define to 1 if you have the <string.h> header file. */ 00156 #define HAVE_STRING_H 1 00157 00158 /* Define to 1 if you have the <sys/socket.h> header file. */ 00159 #define HAVE_SYS_SOCKET_H 1 00160 00161 /* Define to 1 if you have the <sys/stat.h> header file. */ 00162 #define HAVE_SYS_STAT_H 1 00163 00164 /* Define to 1 if you have the <sys/types.h> header file. */ 00165 #define HAVE_SYS_TYPES_H 1 00166 00167 /* Define to 1 if you have the <unistd.h> header file. */ 00168 #define HAVE_UNISTD_H 1 00169 00170 /* Compiling on GNU/Linux */ 00171 #define LINUX 1 00172 00173 /* Compiling on Mac OS X */ 00174 /* #undef MACOSX */ 00175 00176 /* Compiling on OS/2 EMX */ 00177 /* #undef OS2 */ 00178 00179 /* Name of package */ 00180 #define PACKAGE "dosbox-x" 00181 00182 /* Define to the address where bug reports for this package should be sent. */ 00183 #define PACKAGE_BUGREPORT "https://github.com/joncampbell123/dosbox-x/issues" 00184 00185 /* Define to the full name of this package. */ 00186 #define PACKAGE_NAME "dosbox-x" 00187 00188 /* Define to the full name and version of this package. */ 00189 #define PACKAGE_STRING "dosbox-x 0.82.3" 00190 00191 /* Define to the one symbol short name of this package. */ 00192 #define PACKAGE_TARNAME "dosbox-x" 00193 00194 /* Define to the home page for this package. */ 00195 #define PACKAGE_URL "http://dosbox-x.software" 00196 00197 /* Define to the version of this package. */ 00198 #define PACKAGE_VERSION "0.82.3" 00199 00200 /* The size of `int *', as computed by sizeof. */ 00201 #define SIZEOF_INT_P 8 00202 00203 /* The size of `unsigned char', as computed by sizeof. */ 00204 #define SIZEOF_UNSIGNED_CHAR 1 00205 00206 /* The size of `unsigned int', as computed by sizeof. */ 00207 #define SIZEOF_UNSIGNED_INT 4 00208 00209 /* The size of `unsigned long', as computed by sizeof. */ 00210 #define SIZEOF_UNSIGNED_LONG 8 00211 00212 /* The size of `unsigned long long', as computed by sizeof. */ 00213 #define SIZEOF_UNSIGNED_LONG_LONG 8 00214 00215 /* The size of `unsigned short', as computed by sizeof. */ 00216 #define SIZEOF_UNSIGNED_SHORT 2 00217 00218 /* Define to 1 if you have the ANSI C header files. */ 00219 #define STDC_HEADERS 1 00220 00221 /* Define to 1 if your <sys/time.h> declares `struct tm'. */ 00222 /* #undef TM_IN_SYS_TIME */ 00223 00224 /* Version number of package */ 00225 #define VERSION "0.82.3" 00226 00227 /* Define WORDS_BIGENDIAN to 1 if your processor stores words with the most 00228 significant byte first (like Motorola and SPARC, unlike Intel). */ 00229 #if defined AC_APPLE_UNIVERSAL_BUILD 00230 # if defined __BIG_ENDIAN__ 00231 # define WORDS_BIGENDIAN 1 00232 # endif 00233 #else 00234 # ifndef WORDS_BIGENDIAN 00235 /* # undef WORDS_BIGENDIAN */ 00236 # endif 00237 #endif 00238 00239 /* Enable large inode numbers on Mac OS X 10.5. */ 00240 #ifndef _DARWIN_USE_64_BIT_INODE 00241 # define _DARWIN_USE_64_BIT_INODE 1 00242 #endif 00243 00244 /* Number of bits in a file offset, on hosts where this is settable. */ 00245 /* #undef _FILE_OFFSET_BITS */ 00246 00247 /* Define for large files, on AIX-style hosts. */ 00248 /* #undef _LARGE_FILES */ 00249 00250 /* Define to empty if `const' does not conform to ANSI C. */ 00251 /* #undef const */ 00252 00253 /* Define to `__inline__' or `__inline' if that's what the C compiler 00254 calls it, or to nothing if 'inline' is not supported under any name. */ 00255 #ifndef __cplusplus 00256 /* #undef inline */ 00257 #endif 00258 00259 /* Define to `unsigned int' if <sys/types.h> does not define. */ 00260 /* #undef size_t */ 00261 00262 /* Define to `int` if you don't have socklen_t */ 00263 /* #undef socklen_t */ 00264 00265 #if C_ATTRIBUTE_ALWAYS_INLINE 00266 #define INLINE inline __attribute__((always_inline)) 00267 #else 00268 #define INLINE inline 00269 #endif 00270 00271 #if C_ATTRIBUTE_FASTCALL 00272 #define DB_FASTCALL __attribute__((fastcall)) 00273 #else 00274 #define DB_FASTCALL 00275 #endif 00276 00277 #if C_HAS_ATTRIBUTE 00278 #define GCC_ATTRIBUTE(x) __attribute__ ((x)) 00279 #else 00280 #define GCC_ATTRIBUTE(x) /* attribute not supported */ 00281 #endif 00282 00283 #if C_HAS_BUILTIN_EXPECT 00284 #define GCC_UNLIKELY(x) __builtin_expect((x),0) 00285 #define GCC_LIKELY(x) __builtin_expect((x),1) 00286 #else 00287 #define GCC_UNLIKELY(x) (x) 00288 #define GCC_LIKELY(x) (x) 00289 #endif 00290 00291 00292 typedef double Real64; 00293 00294 #if SIZEOF_UNSIGNED_CHAR != 1 00295 # error "sizeof (unsigned char) != 1" 00296 #else 00297 typedef unsigned char Bit8u; 00298 typedef signed char Bit8s; 00299 #endif 00300 00301 #if SIZEOF_UNSIGNED_SHORT != 2 00302 # error "sizeof (unsigned short) != 2" 00303 #else 00304 typedef unsigned short Bit16u; 00305 typedef signed short Bit16s; 00306 #endif 00307 00308 #if SIZEOF_UNSIGNED_INT == 4 00309 typedef unsigned int Bit32u; 00310 typedef signed int Bit32s; 00311 #elif SIZEOF_UNSIGNED_LONG == 4 00312 typedef unsigned long Bit32u; 00313 typedef signed long Bit32s; 00314 #else 00315 # error "can't find sizeof(type) of 4 bytes!" 00316 #endif 00317 00318 #if SIZEOF_UNSIGNED_LONG == 8 00319 typedef unsigned long Bit64u; 00320 typedef signed long Bit64s; 00321 #elif SIZEOF_UNSIGNED_LONG_LONG == 8 00322 typedef unsigned long long Bit64u; 00323 typedef signed long long Bit64s; 00324 #else 00325 # error "can't find data type of 8 bytes" 00326 #endif 00327 00328 #if SIZEOF_INT_P == 4 00329 typedef Bit32u Bitu; 00330 typedef Bit32s Bits; 00331 #else 00332 typedef Bit64u Bitu; 00333 typedef Bit64s Bits; 00334 #endif 00335 00336