2016-07-27 18:10:03 -06:00
|
|
|
// Default base address
|
|
|
|
#if defined(_WIN32)
|
|
|
|
#ifdef DFHACK64
|
|
|
|
#define DEFAULT_BASE_ADDR 0x140000000
|
|
|
|
#else
|
|
|
|
#define DEFAULT_BASE_ADDR 0x400000
|
|
|
|
#endif
|
|
|
|
#elif defined(_DARWIN)
|
|
|
|
#ifdef DFHACK64
|
2016-08-09 18:00:31 -06:00
|
|
|
#define DEFAULT_BASE_ADDR 0x100000000
|
2016-07-27 18:10:03 -06:00
|
|
|
#else
|
|
|
|
#define DEFAULT_BASE_ADDR 0x1000
|
|
|
|
#endif
|
|
|
|
#elif defined(_LINUX)
|
|
|
|
#ifdef DFHACK64
|
2016-08-18 15:28:18 -06:00
|
|
|
#define DEFAULT_BASE_ADDR 0x400000
|
2016-07-27 18:10:03 -06:00
|
|
|
#else
|
|
|
|
#define DEFAULT_BASE_ADDR 0x8048000
|
|
|
|
#endif
|
|
|
|
#else
|
|
|
|
#error Unknown OS
|
|
|
|
#endif
|