Fix the compiling error: \"Cannot find definitions for fixed-width integral types (uint8_t, uint32_t, etc.)\" under Cygwin

This commit is contained in:
fmoatamr committed 2009-10-09 16:07:20 +02:00
1 parent 09a4d48ff0
commit 58c20bdd95
1 file changed
+3 -1
+3 -1
View File
@@ -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