Fix the compiling error: \"Cannot find definitions for fixed-width integral types (uint8_t, uint32_t, etc.)\" under Cygwin
This commit is contained in:
1 parent
09a4d48ff0
commit
58c20bdd95
1 file changed
+3
-1
@@ -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
|
||||
|
||||
|
||||
Reference in new issue
Block a user