[AD] patch for Watcom build

[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]


Hello,

I don't have diff here, so I'll just post the change:

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/* these are available in OpenWatcom 1.3 (12.3) */
#if __WATCOMC__ >= 1230
#define HAVE_INTTYPES_H
#define HAVE_STDINT_H
#else
#define ALLEGRO_GUESS_INTTYPES_OK
#endif
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`

That should replace the lines:
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`
/* these are available in OpenWatcom 1.3, at least */
#define HAVE_INTTYPES_H
#define HAVE_STDINT_H
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~`

Open Watcom 1.3 is the first version to include the inttypes.h file.
By the __WATCOMC__ define It is known as version 12.3 or 1230.

--
Matthew Leverton
http://www.allegro.cc




Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/