summaryrefslogtreecommitdiff
path: root/ext/digest
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-14 01:47:02 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-03-14 01:47:02 +0000
commit668af7e99d8458e3033d3641b25656ab8401ad74 (patch)
tree50f6949c02dfd7433ca503e2bdaa516dd4903836 /ext/digest
parent4b31c84daedaeb6ae802e30c1652a5546f977ac0 (diff)
* configure.in (int8_t, uint8_t, int16_t, uint16_t int32_t,
uint32_t int64_t, uint64_t, int128_t, uint128_t, intptr_t, uintptr_t): check if defined. * win32/Makefile.sub: follow configure.in. * ext/digest/defs.h: remove checks for uint8_t, uint32_t and uint64_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15772 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext/digest')
-rw-r--r--ext/digest/defs.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/ext/digest/defs.h b/ext/digest/defs.h
index b9a3470..77a134f 100644
--- a/ext/digest/defs.h
+++ b/ext/digest/defs.h
@@ -16,18 +16,4 @@
# define __END_DECLS
#endif
-#if defined(HAVE_INTTYPES_H)
-# include <inttypes.h>
-#elif !defined __CYGWIN__ || !defined __uint8_t_defined
- typedef unsigned char uint8_t;
- typedef unsigned int uint32_t;
-# if SIZEOF_LONG == 8
- typedef unsigned long uint64_t;
-# elif SIZEOF_LONG_LONG == 8
- typedef unsigned LONG_LONG uint64_t;
-# else
-# define NO_UINT64_T
-# endif
-#endif
-
#endif /* DEFS_H */