/* This file is automatically generated by configure */
/* DO NOT EDIT MANUALLY */

#ifndef CONFIG_H
#define CONFIG_H


#define SCUMM_LITTLE_ENDIAN
#undef SCUMM_BIG_ENDIAN
#define SCUMM_64BITS
#undef SCUMM_NEED_ALIGNMENT
#undef USE_ELF_LOADER
#undef DYNAMIC_MODULES
#undef USE_MT32EMU
#define USE_RGB_COLOR
#define USE_HIGHRES
#define USE_SAVEGAME_TIMESTAMP
#define USE_SCALERS
#define USE_HQ_SCALERS
#undef USE_VORBIS
#undef USE_TREMOR
#undef USE_FLAC
#undef USE_MAD
#undef USE_ALSA
#undef USE_JPEG
#undef USE_PNG
#undef USE_THEORADEC
#undef USE_FAAD
#define USE_SEQ_MIDI
#undef USE_SNDIO
#undef USE_TIMIDITY
#undef USE_ZLIB
#undef USE_MPEG2
#undef USE_FLUIDSYNTH
#undef USE_READLINE
#undef USE_TEXT_CONSOLE_FOR_DEBUGGER
#undef USE_UNITY
#undef USE_FREETYPE2
#undef USE_OPENGL
#undef USE_GLES
#undef USE_NASM
#undef ENABLE_VKEYBD
#undef ENABLE_KEYMAPPER
#define ENABLE_EVENTRECORDER
#define USE_TRANSLATION
#define USE_DETECTLANG
#undef USE_TASKBAR
#define USE_BINK
#undef USE_UPDATES
/* #define TAINTED_BUILD */

/* OpenVMS/__DECCXX: DISABLE_FANCY_THEMES is left UNDEFINED, matching upstream default.
 *
 * It is a legitimate UPSTREAM ScummVM option (for constrained platforms like the NDS)
 * that drops the anti-aliased GUI renderer.  We do not want it: the AA renderer works.
 *
 * IT HAS NOTHING TO DO WITH ANY COMPILER CRASH, contrary to what this comment claimed
 * for several rounds.  The %GEM-F-ASSERTION in GEM_CX_EXTEND_LIFETIME on
 * graphics/VectorRendererSpec.cpp was caused by the /NOOPTIMIZE flag that file was
 * built with; it compiles at plain /OPTIMIZE=(LEVEL=3,TUNE=HOST).  This macro was
 * pushed BOTH ways during the hunt - defined, then `#undef` - and the build failed
 * identically both times, which by itself proves it was never causal.  Full account in
 * DESCRIP.MMS, "VectorRendererSpec.cpp : SOLVED".
 *
 * TWO LESSONS, both earned the hard way and both about THIS FILE:
 *  1. SUSPECT YOUR BUILD FLAGS BEFORE YOUR SOURCE.  When successive source edits leave
 *     a compiler traceback IDENTICAL, the real variable has not been touched yet - look
 *     at what stayed CONSTANT (here, the command line).
 *  2. config.h IS THE WORST PLACE TO RUN AN EXPERIMENT.  It is in $(GLOBAL_HDRS), so
 *     every edit rebuilds all 358 objects and changes many variables at once.  A
 *     per-file FLAG change in DESCRIP.MMS is the cheapest genuinely isolated test.
 *
 * If it is ever actually wanted, it must be defined GLOBALLY (here) and never per-file,
 * because gui/launcher.h:63 puts two GraphicsWidget* members inside its guard - a
 * per-file define gives different class layouts in different TUs, a silent ODR
 * violation.
 */
#undef DISABLE_FANCY_THEMES

/* Data types */
typedef unsigned char byte;
typedef unsigned int uint;
typedef unsigned char uint8;
typedef unsigned short uint16;
typedef unsigned int uint32;
typedef signed char int8;
typedef signed short int16;
typedef signed int int32;

/* 64-bit stuff */
/* NOTE: use "long long", not "long".  On OpenVMS Alpha the default data model
 * is LP32 - "long" is only 32 bits - so "long" here would make int64/uint64
 * silently 32-bit and truncate every 64-bit operation.  "long long" is a true
 * 64-bit type on both OpenVMS (HP C++) and the 64-bit Linux validation host. */
typedef signed long long int64;
#if defined(__APPLE__) && !defined(__ppc__)
#ifndef _UINT64
#define _UINT64
typedef unsigned long long uint64;
#endif
#else
typedef unsigned long long uint64;
#endif
#define HAVE_INT64

#endif /* CONFIG_H */
