summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog2
-rw-r--r--ext/digest/defs.h2
2 files changed, 3 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 239f7e503fb..db3359f85e9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -7,6 +7,8 @@ Sun Jun 1 21:50:01 2003 WATANABE Hirofumi <eban@ruby-lang.org>
* cygwin/GNUmakefile.in: ditto.
+ * ext/digest/defs.h: avoid warnings on Cygwin.
+
Sun Jun 01 13:33:49 2003 Takaaki Uematsu <uema2x@jcom.home.ne.jp>
* wince/string_wce.c: add strpbrk() for hpcpro support.
diff --git a/ext/digest/defs.h b/ext/digest/defs.h
index 8e44cf6fa21..e7b90be0235 100644
--- a/ext/digest/defs.h
+++ b/ext/digest/defs.h
@@ -18,7 +18,7 @@
#if defined(HAVE_INTTYPES_H)
# include <inttypes.h>
-#else
+#elif !defined __CYGWIN__
typedef unsigned char uint8_t;
typedef unsigned int uint32_t;
# if SIZEOF_LONG == 8