summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-01 14:20:58 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-01 14:20:58 +0000
commit9b616a5e85eb17eaf2f8cd1f7972cca4e59fa3cb (patch)
tree6f136357188e0a889e610628972038bf4a42742d
parentfd681fe0e5240ae112b15ff437d3259f202b9705 (diff)
* ext/digest/defs.h: avoid warnings on Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3895 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-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