From 58c20bdd9547e0802055b9119f48065fdcbfb8f0 Mon Sep 17 00:00:00 2001 From: fmoatamr Date: Fri, 9 Oct 2009 16:07:20 +0200 Subject: [PATCH] Fix the compiling error: \"Cannot find definitions for fixed-width integral types (uint8_t, uint32_t, etc.)\" under Cygwin --- src/simulator/cairo-wideint-private.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/simulator/cairo-wideint-private.h b/src/simulator/cairo-wideint-private.h index 6c8358b9f..bbbca4fd7 100644 --- a/src/simulator/cairo-wideint-private.h +++ b/src/simulator/cairo-wideint-private.h @@ -36,10 +36,12 @@ #define cairo_private #define HAVE_UINT64_T 1 -/*for compatibility with MacOS*/ +/*for compatibility with MacOS and Cygwin*/ #ifndef HAVE_STDINT_H #ifdef __APPLE__ #define HAVE_STDINT_H 1 +#elif defined(WIN32) +#define HAVE_STDINT_H 1 #endif #endif