mirror of
https://github.com/postgres/postgres.git
synced 2025-12-21 05:21:08 +03:00
Remove a bunch of unused configure tests, in particular cases where
* the result is not recorded anywhere * the result is not used anywhere * the result is only used in some places, whereas others have been getting away with it * the result is used improperly Also make command line options handling a little better (e.g., --disable-locale, while redundant, should really still *dis*able).
This commit is contained in:
@@ -1,19 +1,14 @@
|
||||
#ifndef VARBIT_H
|
||||
#define VARBIT_H
|
||||
|
||||
#include <math.h>
|
||||
|
||||
#include "postgres.h"
|
||||
#ifdef HAVE_LIMITS_H
|
||||
|
||||
#include <math.h>
|
||||
#include <limits.h>
|
||||
#ifndef MAXINT
|
||||
#define MAXINT INT_MAX
|
||||
#endif
|
||||
#else
|
||||
#ifdef HAVE_VALUES_H
|
||||
#include <values.h>
|
||||
#endif
|
||||
#endif
|
||||
|
||||
#include "utils/builtins.h"
|
||||
|
||||
|
||||
@@ -26,6 +21,7 @@ struct varbita
|
||||
bits8 vl_dat[1];
|
||||
};
|
||||
|
||||
#undef BITSPERBYTE /* sometimes declared in <values.h> */
|
||||
#define BITSPERBYTE 8
|
||||
#define VARBITHDRSZ sizeof(int32)
|
||||
/* Number of bits in this bit string */
|
||||
|
||||
Reference in New Issue
Block a user