[AD] patch for Watcom build |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
- To: alleg-developers@xxxxxxxxxx
- Subject: [AD] patch for Watcom build
- From: Matthew Leverton <meffer@xxxxxxxxxx>
- Date: Mon, 4 Apr 2005 12:12:06 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=taUAVahYLTe6JEi7XnFfM6/DxBU4TaR7ziEmDk5neTnWrIAY15T2LCQ7m5eH0QUU/2HgYrHeVN1fVEI17L721hfwzDKY+Y4a4E8NVjnk/KYpR09NSyaNkH+aCzxG5wLt4OoiROAiU0u4OeXi1/zy04LumjcqHRUvHYifi8a3pjc=
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