Fix the compiling error: \"Cannot find definitions for fixed-width integral types (uint8_t, uint32_t, etc.)\" under Cygwin
authorfmoatamr
Fri, 09 Oct 2009 16:07:20 +0200
changeset 5398 bdc7094e9c47
parent 5397 260feb25ff0e
child 5399 73f6b9cbad86
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
--- a/src/simulator/cairo-wideint-private.h	Fri Oct 09 15:45:17 2009 +0400
+++ b/src/simulator/cairo-wideint-private.h	Fri Oct 09 16:07:20 2009 +0200
@@ -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