summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoreban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-01 15:27:09 +0000
committereban <eban@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-06-01 15:27:09 +0000
commite7bcd2ee33e3da1fd3989737e4521212b6484b6d (patch)
treee897eb09ccaaa2b51224043a100159ce173ba2b9
parent9b616a5e85eb17eaf2f8cd1f7972cca4e59fa3cb (diff)
* ext/digest/defs.h: better support for old Cygwin.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@3896 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--ext/digest/defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/digest/defs.h b/ext/digest/defs.h
index e7b90be0235..bb55d984a25 100644
--- a/ext/digest/defs.h
+++ b/ext/digest/defs.h
@@ -18,7 +18,7 @@
#if defined(HAVE_INTTYPES_H)
# include <inttypes.h>
-#elif !defined __CYGWIN__
+#elif !defined __CYGWIN__ || !defined __INTTYPES_DEFINED__
typedef unsigned char uint8_t;
typedef unsigned int uint32_t;
# if SIZEOF_LONG == 8