Alchemy
Loading...
Searching...
No Matches

config.h

Go to the documentation of this file.
1#ifndef ALCHEMY_CONFIG_H
2#define ALCHEMY_CONFIG_H
3
4/// @file
5/// Build switches, as pret's config.h: BUGFIX opts in to fixes of the original
6/// game's bugs, and UBFIX gives undefined behaviour its defined form.
7
8// Uncomment to fix some identified minor bugs
9// #define BUGFIX
10
11// Various undefined behavior bugs may or may not prevent compilation with
12// newer compilers. So always fix them when using a modern compiler.
13#if MODERN || defined(BUGFIX)
14#ifndef UBFIX
15#define UBFIX
16#endif
17#endif
18
19#endif