Skip to content
Snippets Groups Projects
Commit 998ad42d authored by deuce's avatar deuce
Browse files

Some compilers (ie: Borland Turbo C++) come with stdint.h but not inttypes.h

Need to check other Borland distributions and see if BDE shipped this way as
well.
parent 6a387932
No related branches found
No related tags found
No related merge requests found
......@@ -63,6 +63,10 @@
#include <sys/types.h>
#ifdef HAS_INTTYPES_H
#include <inttypes.h>
#else
#ifdef HAS_STDINT_H
#include <stdint.h>
#endif
#endif
/* Control characters */
......@@ -140,7 +144,7 @@ enum {
#endif
#endif
#if !defined(HAS_INTTYPES_H) && !defined(XPDEV_DONT_DEFINE_INTTYPES)
#if !defined(HAS_INTTYPES_H) && !defined(XPDEV_DONT_DEFINE_INTTYPES) && !defined(HAS_STDINT_H)
typedef char int8_t;
typedef short int16_t;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment