[jbig2-cvs] rev 389 - trunk

giles at ghostscript.com giles at ghostscript.com
Wed Jan 19 11:31:33 PST 2005


Author: giles
Date: 2005-01-19 11:31:33 -0800 (Wed, 19 Jan 2005)
New Revision: 389

Modified:
   trunk/os_types.h
Log:
#ifdef out the cygwin stdint-from-sys/types fixup. Newer cygwin seems to provide
them all, but still not define stdint.h. Bug 687873.


Modified: trunk/os_types.h
===================================================================
--- trunk/os_types.h	2005-01-04 07:05:39 UTC (rev 388)
+++ trunk/os_types.h	2005-01-19 19:31:33 UTC (rev 389)
@@ -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)



More information about the jbig2-cvs mailing list