ref: c04c341b8cfbd2ee7b58269147a41bf6c24d7b7e
parent: fdc9d09b305474bffc749d23b51e025bba7fa567
author: giles <giles@ded80894-8fb9-0310-811b-c03f3676ab4d>
date: Wed Jan 19 14:31:33 EST 2005
#ifdef out the cygwin stdint-from-sys/types fixup. Newer cygwin seems to provide them all, but still not define stdint.h. Bug 687873. git-svn-id: http://svn.ghostscript.com/jbig2dec/trunk@389 ded80894-8fb9-0310-811b-c03f3676ab4d
--- a/os_types.h
+++ b/os_types.h
@@ -29,6 +29,7 @@
#if defined(__CYGWIN__) && !defined(HAVE_STDINT_H)
# include <sys/types.h>
+# if defined(OLD_CYGWIN_SYS_TYPES)
/*
* Old versions of Cygwin have no stdint.h but define "MS types". Some of
* them conflict with a standard type emulation provided by config_types.h
@@ -37,6 +38,7 @@
typedef u_int8_t uint8_t;
typedef u_int16_t uint16_t;
typedef u_int32_t uint32_t;
+#endif
#elif defined(HAVE_CONFIG_H)
# include "config_types.h"
#elif defined(_WIN32)