aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorMax Horn2004-10-17 17:57:33 +0000
committerMax Horn2004-10-17 17:57:33 +0000
commita41b8d22937396c10b913a0e9d58af311bccc5ad (patch)
treee411bddc701b7bfe75ad19ddec0d54cfef004fd8 /configure
parent267144e69c09862c230506ec1550b6b1ac8437f3 (diff)
downloadscummvm-rg350-a41b8d22937396c10b913a0e9d58af311bccc5ad.tar.gz
scummvm-rg350-a41b8d22937396c10b913a0e9d58af311bccc5ad.tar.bz2
scummvm-rg350-a41b8d22937396c10b913a0e9d58af311bccc5ad.zip
Patch #1040501 (Possible fix for inttypes.h problem)
svn-id: r15590
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure9
1 files changed, 8 insertions, 1 deletions
diff --git a/configure b/configure
index 415e2d99fd..5ae821e1b3 100755
--- a/configure
+++ b/configure
@@ -877,7 +877,14 @@ echocheck "libmpeg2 >= 0.3.2"
if test "$_mpeg2" = auto ; then
_mpeg2=no
cat > $TMPC << EOF
-#include <inttypes.h>
+typedef signed $type_1_byte int8_t;
+typedef signed $type_2_byte int16_t;
+typedef signed $type_4_byte int32_t;
+
+typedef unsigned $type_1_byte uint8_t;
+typedef unsigned $type_2_byte uint16_t;
+typedef unsigned $type_4_byte uint32_t;
+
#include <mpeg2dec/mpeg2.h>
int main(void) {
/* mpeg2_state_t first appears in 0.4.0 */