summaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2000-07-28 02:13:52 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2000-07-28 02:13:52 +0000
commit87cdaf5491ea6d9e2701bb2b557d64c80c7de4e0 (patch)
tree08a3698526098b47e72ced57ff0cceceb5dfa2b3 /src/include
parentad7b47aa02ecc15211643e250862948438c1639f (diff)
Remove <values.h> inclusions, no-longer-needed MAXINT definitions.
Diffstat (limited to 'src/include')
-rw-r--r--src/include/config.h.in5
-rw-r--r--src/include/utils/varbit.h7
2 files changed, 3 insertions, 9 deletions
diff --git a/src/include/config.h.in b/src/include/config.h.in
index e6c23e48758..7e5413994f8 100644
--- a/src/include/config.h.in
+++ b/src/include/config.h.in
@@ -8,7 +8,7 @@
* or in config.h afterwards. Of course, if you edit config.h, then your
* changes will be overwritten the next time you run configure.
*
- * $Id: config.h.in,v 1.127 2000/07/14 16:39:35 petere Exp $
+ * $Id: config.h.in,v 1.128 2000/07/28 02:13:40 tgl Exp $
*/
#ifndef CONFIG_H
@@ -327,9 +327,6 @@
/* Set to 1 if you have <termios.h> */
#undef HAVE_TERMIOS_H
-/* Set to 1 if you have <values.h> */
-#undef HAVE_VALUES_H
-
/* Set to 1 if you have <sys/pstat.h> */
#undef HAVE_SYS_PSTAT_H
diff --git a/src/include/utils/varbit.h b/src/include/utils/varbit.h
index 5961bb80a5a..172cb4c6c4d 100644
--- a/src/include/utils/varbit.h
+++ b/src/include/utils/varbit.h
@@ -5,16 +5,13 @@
#include <math.h>
#include <limits.h>
-#ifdef HAVE_VALUES_H
-#include <values.h>
-#endif
#include "utils/builtins.h"
-#define HEXDIG(z) (z)<10 ? ((z)+'0') : ((z)-10+'A')
+#define HEXDIG(z) ((z)<10 ? ((z)+'0') : ((z)-10+'A'))
-/* Modeled on struct varlena from postgres.h, bu data type is bits8 */
+/* Modeled on struct varlena from postgres.h, but data type is bits8 */
struct varbita
{
int32 vl_len;