summaryrefslogtreecommitdiff
path: root/bcc32
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-02 20:49:02 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2010-03-02 20:49:02 +0000
commitd20440ab6fae8590d7eeb0da5614b86e3eaa5228 (patch)
tree1e7b98a621036853ad6f6b2f4e028062915a36b4 /bcc32
parenta0ff5cae7c778e3c8b2b1e387c0c0163010d6c00 (diff)
* win32/Makefile.sub, symbian/setup (config.h): pack.c requires
SIZEOF_INT*_T now. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26798 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'bcc32')
-rw-r--r--bcc32/Makefile.sub9
1 files changed, 7 insertions, 2 deletions
diff --git a/bcc32/Makefile.sub b/bcc32/Makefile.sub
index 130b0f243d..24941e7150 100644
--- a/bcc32/Makefile.sub
+++ b/bcc32/Makefile.sub
@@ -299,13 +299,18 @@ $(CONFIG_H): $(MKFILES) $(srcdir)/bcc32/Makefile.sub
\#define uint64_t unsigned __int64
\#define ssize_t int
!endif
+\#define HAVE_INT8_T 1
\#define HAVE_UINT8_T 1
+\#define SIZEOF_INT8_T 1
\#define HAVE_INT16_T 1
\#define HAVE_UINT16_T 1
+\#define SIZEOF_INT32_T 2
\#define HAVE_INT32_T 1
\#define HAVE_UINT32_T 1
-\#define HAVE_INT64_T HAVE_LONG_LONG
-\#define HAVE_UINT64_T HAVE_LONG_LONG
+\#define SIZEOF_INT32_T 4
+\#define HAVE_INT64_T 1
+\#define HAVE_UINT64_T 1
+\#define SIZEOF_INT64_T 8
\#define HAVE_INTPTR_T 1
\#define HAVE_UINTPTR_T 1
\#define HAVE_SSIZE_T 1