From: Tom Yu Date: Sat, 1 Jul 2000 15:32:14 +0000 (+0000) Subject: * db-config.h.in: New file; contains useful tidbits from X-Git-Tag: krb5-1.3-alpha1~2033 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d96893c596496bbdfc2e6e92597263edc8191081;p=krb5.git * db-config.h.in: New file; contains useful tidbits from config.h.in generated by autoheader. It is needed because config.h.in has some thing we don't want to leak, like renaming of missing libc functions. * .cvsignore: Twiddle to reflect current reality. * db-int.h: #include config.h since db.h includes db-config.h which is not quite the same now. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12504 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/util/db2/include/.cvsignore b/src/util/db2/include/.cvsignore index 45eaf928f..e732bf885 100644 --- a/src/util/db2/include/.cvsignore +++ b/src/util/db2/include/.cvsignore @@ -1,2 +1,2 @@ -db-config.h.in -stamp-h.in +config.h.in +stamp-h2.in diff --git a/src/util/db2/include/ChangeLog b/src/util/db2/include/ChangeLog index 7918ecbe3..76b41c245 100644 --- a/src/util/db2/include/ChangeLog +++ b/src/util/db2/include/ChangeLog @@ -1,3 +1,15 @@ +2000-07-01 Tom Yu + + * db-config.h.in: New file; contains useful tidbits from + config.h.in generated by autoheader. It is needed because + config.h.in has some thing we don't want to leak, like renaming of + missing libc functions. + + * .cvsignore: Twiddle to reflect current reality. + + * db-int.h: #include config.h since db.h includes db-config.h + which is not quite the same now. + 2000-06-30 Tom Yu * db-int.h: Remove renaming for memmove, strerror, mkstemp since diff --git a/src/util/db2/include/db-config.h.in b/src/util/db2/include/db-config.h.in new file mode 100644 index 000000000..c9d585de6 --- /dev/null +++ b/src/util/db2/include/db-config.h.in @@ -0,0 +1,28 @@ +/* include/db-config.h.in. Derived from autoconf-generated config.h.in. */ + +/* Define to empty if the keyword does not work. */ +#undef const + +/* Define to `unsigned' if doesn't define. */ +#undef size_t + +/* Define if your processor stores words with the most significant + byte first (like Motorola and SPARC, unlike Intel and VAX). */ +#undef WORDS_BIGENDIAN + +#undef ssize_t + +#undef u_char +#undef u_short +#undef u_int +#undef u_long + +#undef int8_t +#undef u_int8_t +#undef int16_t +#undef u_int16_t +#undef int32_t +#undef u_int32_t + +/* The number of bytes in a int. */ +#undef SIZEOF_INT diff --git a/src/util/db2/include/db-int.h b/src/util/db2/include/db-int.h index 4037ab9bc..8ce1b15ba 100644 --- a/src/util/db2/include/db-int.h +++ b/src/util/db2/include/db-int.h @@ -36,9 +36,10 @@ #ifndef _DB_INT_H_ #define _DB_INT_H_ +#include "config.h" #include "db.h" -/* deal with autoconf-based stuff (db.h includes db-config.h) */ +/* deal with autoconf-based stuff */ #define DB_LITTLE_ENDIAN 1234 #define DB_BIG_ENDIAN 4321