comparison src/database.c @ 1460:df0effd42264

[xemacs-hg @ 2003-05-06 04:54:18 by youngs] 2003-02-14 Martin Buchholz <martin@xemacs.org> * database.c: Berkeley DB wants __STDC__ to be defined.
author youngs
date Tue, 06 May 2003 04:54:21 +0000
parents 908cd1ff6104
children 080d479edd32
comparison
equal deleted inserted replaced
1459:e4352ad927f2 1460:df0effd42264
55 typedef uint64_t u_int64_t; 55 typedef uint64_t u_int64_t;
56 #endif /* WE_DONT_NEED_QUADS */ 56 #endif /* WE_DONT_NEED_QUADS */
57 #endif /* __FreeBSD__ */ 57 #endif /* __FreeBSD__ */
58 #endif /* HAVE_INTTYPES_H */ 58 #endif /* HAVE_INTTYPES_H */
59 #endif /* !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) */ 59 #endif /* !(defined __GLIBC__ && __GLIBC_MINOR__ >= 1) */
60 /* Berkeley DB wants __STDC__ to be defined; else if does `#define const' */
61 #if ! defined (__STDC__) && ! defined(__cplusplus)
62 #define __STDC__ 0
63 #endif
60 #include DB_H_FILE /* Berkeley db's header file */ 64 #include DB_H_FILE /* Berkeley db's header file */
61 #ifndef DB_VERSION_MAJOR 65 #ifndef DB_VERSION_MAJOR
62 # define DB_VERSION_MAJOR 1 66 # define DB_VERSION_MAJOR 1
63 #endif /* DB_VERSION_MAJOR */ 67 #endif /* DB_VERSION_MAJOR */
64 #ifndef DB_VERSION_MINOR 68 #ifndef DB_VERSION_MINOR