[gs-cvs] rev 8541 - trunk/gs/src
alexcher at ghostscript.com
alexcher at ghostscript.com
Sat Feb 23 17:12:18 PST 2008
Author: alexcher
Date: 2008-02-23 17:12:18 -0800 (Sat, 23 Feb 2008)
New Revision: 8541
Modified:
trunk/gs/src/stdint_.h
Log:
Add definitions of some C99 types missing from old versions of Cygwin.
Modified: trunk/gs/src/stdint_.h
===================================================================
--- trunk/gs/src/stdint_.h 2008-02-23 22:26:01 UTC (rev 8540)
+++ trunk/gs/src/stdint_.h 2008-02-24 01:12:18 UTC (rev 8541)
@@ -60,6 +60,13 @@
# elif defined(__VMS) /* OpenVMS provides these types in inttypes.h */
# include <inttypes.h>
# define STDINT_TYPES_DEFINED
+# elif defined(__CYGWIN__)
+# include <sys/types.h> /* Old Cygwin has some of C99 types here. */
+ typedef unsigned char uint8_t;
+ typedef unsigned short uint16_t;
+ typedef unsigned int uint32_t;
+ typedef unsigned long long uint64_t;
+# define STDINT_TYPES_DEFINED
# endif
/* other archs may want to add defines here,
or use the fallbacks in std.h */
More information about the gs-cvs
mailing list