[uim-commit] r2936 - in branches/r5rs/sigscheme: . src
yamaken at freedesktop.org
yamaken at freedesktop.org
Tue Jan 17 15:11:07 PST 2006
Author: yamaken
Date: 2006-01-17 15:10:44 -0800 (Tue, 17 Jan 2006)
New Revision: 2936
Modified:
branches/r5rs/sigscheme/configure.in
branches/r5rs/sigscheme/src/sigscheme.h
Log:
* sigscheme/configure.in
- Uncomment AC_CHECK_SIZEOF(int_fast32_t)
* sigscheme/src/sigscheme.h
- (scm_ichar_t): Change to int_fast32_t
- (SIZEOF_SCM_ICHAR_T, SCM_ICHAR_T_MAX, SCM_ICHAR_T_MIN): Follow the
change
Modified: branches/r5rs/sigscheme/configure.in
===================================================================
--- branches/r5rs/sigscheme/configure.in 2006-01-17 22:58:06 UTC (rev 2935)
+++ branches/r5rs/sigscheme/configure.in 2006-01-17 23:10:44 UTC (rev 2936)
@@ -53,7 +53,7 @@
#AC_CHECK_SIZEOF(int_least64_t)
#AC_CHECK_SIZEOF(int_fast8_t)
#AC_CHECK_SIZEOF(int_fast16_t)
-#AC_CHECK_SIZEOF(int_fast32_t)
+AC_CHECK_SIZEOF(int_fast32_t)
#AC_CHECK_SIZEOF(int_fast64_t)
AC_CHECK_SIZEOF(intmax_t)
AC_CHECK_SIZEOF(intptr_t)
Modified: branches/r5rs/sigscheme/src/sigscheme.h
===================================================================
--- branches/r5rs/sigscheme/src/sigscheme.h 2006-01-17 22:58:06 UTC (rev 2935)
+++ branches/r5rs/sigscheme/src/sigscheme.h 2006-01-17 23:10:44 UTC (rev 2936)
@@ -425,10 +425,10 @@
* SCM_CHAR_BITS, SCM_CHAR_MAX and SCM_CHAR_MIN if needed.
*/
#ifndef SCM_ICHAR_T_DEFINED
-typedef int32_t scm_ichar_t;
-#define SIZEOF_SCM_ICHAR_T SIZEOF_INT32_T
-#define SCM_ICHAR_T_MAX INT32_MAX
-#define SCM_ICHAR_T_MIN INT32_MIN
+typedef int_fast32_t scm_ichar_t;
+#define SIZEOF_SCM_ICHAR_T SIZEOF_INT_FAST32_T
+#define SCM_ICHAR_T_MAX INT_FAST32_MAX
+#define SCM_ICHAR_T_MIN INT_FAST32_MIN
#if (EOF < SCM_ICHAR_T_MIN || SCM_ICHAR_T_MAX < EOF)
#error "scm_ichar_t cannot represent EOF on this platform"
#endif
More information about the uim-commit
mailing list