// __TURBOC__ is #define'd on both "Borland" and "Turbo" editions, unlike
// __BORLANDC__, which is only #define'd on the former.
#if defined(__TURBOC__) && defined(__MSDOS__)
# ifdef __cplusplus
typedefcharbool;
# define false 0
# define true 1
#endif
typedefcharint8_t;
typedefshortint16_t;
typedeflongint32_t;
typedefunsignedcharuint8_t;
typedefunsignedshortuint16_t;
typedefunsignedlonguint32_t;
#else
# error This code can currently only be compiled on Borland's 16-bit DOS compilers. Ideally, you'd only have to declare <stdint.h> types for your compiler here though?