projects
/
chise
/
xemacs-chise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(CB06935): New character; add `<-unknown' for U-00020971.
[chise/xemacs-chise.git]
/
src
/
database.c
diff --git
a/src/database.c
b/src/database.c
index
2e07885
..
2edbee4
100644
(file)
--- a/
src/database.c
+++ b/
src/database.c
@@
-43,13
+43,21
@@
Boston, MA 02111-1307, USA. */
/* glibc 2.1 doesn't have this problem with DB 2.x */
#if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
#ifdef HAVE_INTTYPES_H
/* glibc 2.1 doesn't have this problem with DB 2.x */
#if !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1)
#ifdef HAVE_INTTYPES_H
+#ifndef __BIT_TYPES_DEFINED__
#define __BIT_TYPES_DEFINED__
#define __BIT_TYPES_DEFINED__
+#endif
#include <inttypes.h>
#include <inttypes.h>
-#ifndef __FreeBSD__
+#if !HAVE_U_INT8_T
typedef uint8_t u_int8_t;
typedef uint8_t u_int8_t;
+#endif
+#if !HAVE_U_INT16_T
typedef uint16_t u_int16_t;
typedef uint16_t u_int16_t;
+#endif
+#if !HAVE_U_INT32_T
typedef uint32_t u_int32_t;
typedef uint32_t u_int32_t;
+#endif
#ifdef WE_DONT_NEED_QUADS
#ifdef WE_DONT_NEED_QUADS
+#if !HAVE_U_INT64_T
typedef uint64_t u_int64_t;
#endif
#endif /* WE_DONT_NEED_QUADS */
typedef uint64_t u_int64_t;
#endif
#endif /* WE_DONT_NEED_QUADS */
@@
-784,7
+792,7
@@
If there is no corresponding value, return DEFAULT (defaults to nil).
}
}
}
}
-DEFUN ("map-database", Fmapdatabase, 2, 2, 0, /*
+DEFUN ("map-database", Fmap_database, 2, 2, 0, /*
Map FUNCTION over entries in DATABASE, calling it with two args,
each key and value in the database.
*/
Map FUNCTION over entries in DATABASE, calling it with two args,
each key and value in the database.
*/
@@
-819,7
+827,7
@@
syms_of_database (void)
DEFSUBR (Fopen_database);
DEFSUBR (Fdatabasep);
DEFSUBR (Fopen_database);
DEFSUBR (Fdatabasep);
- DEFSUBR (Fmapdatabase);
+ DEFSUBR (Fmap_database);
DEFSUBR (Fput_database);
DEFSUBR (Fget_database);
DEFSUBR (Fremove_database);
DEFSUBR (Fput_database);
DEFSUBR (Fget_database);
DEFSUBR (Fremove_database);