summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTom Yu <tlyu@mit.edu>2000-07-01 15:32:14 +0000
committerTom Yu <tlyu@mit.edu>2000-07-01 15:32:14 +0000
commitd96893c596496bbdfc2e6e92597263edc8191081 (patch)
tree0b0037072502043394cfed6c027c18fbbfc880b3 /src
parent43790411001e8a84e6a2ecaf9c3232c8997258ad (diff)
downloadkrb5-d96893c596496bbdfc2e6e92597263edc8191081.tar.gz
krb5-d96893c596496bbdfc2e6e92597263edc8191081.tar.xz
krb5-d96893c596496bbdfc2e6e92597263edc8191081.zip
* 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
Diffstat (limited to 'src')
-rw-r--r--src/util/db2/include/.cvsignore4
-rw-r--r--src/util/db2/include/ChangeLog12
-rw-r--r--src/util/db2/include/db-config.h.in28
-rw-r--r--src/util/db2/include/db-int.h3
4 files changed, 44 insertions, 3 deletions
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 <tlyu@mit.edu>
+
+ * 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 <tlyu@mit.edu>
* 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 <sys/types.h> 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