summaryrefslogtreecommitdiff
path: root/src/include/c.h
diff options
context:
space:
mode:
authorPeter Eisentraut2024-10-14 06:02:38 +0000
committerPeter Eisentraut2024-10-14 06:33:36 +0000
commita2d9a9b95ad933853dd18894393615d37257f43b (patch)
treed8ffb4f9cbd0e8a19a6cc651b241d4ec13f42a3c /src/include/c.h
parent9f34cae1426fe5ab915c95b7e26b1efffbb2ca0f (diff)
Remove traces of BeOS.
Commit 15abc7788e6 tolerated namespace pollution from BeOS system headers. Commit 44f902122 de-supported BeOS. Since that stuff didn't make it into the Meson build system, synchronize by removing from configure. Author: Thomas Munro <[email protected]> Reviewed-by: Peter Eisentraut <[email protected]> Reviewed-by: Heikki Linnakangas <[email protected]> Reviewed-by: Japin Li <[email protected]> Reviewed-by: Tom Lane <[email protected]> (the idea, not the patch) Discussion: https://postgr.es/m/ME3P282MB3166F9D1F71F787929C0C7E7B6312%40ME3P282MB3166.AUSP282.PROD.OUTLOOK.COM
Diffstat (limited to 'src/include/c.h')
-rw-r--r--src/include/c.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/include/c.h b/src/include/c.h
index 3297d89ff0e..55dec71a6d7 100644
--- a/src/include/c.h
+++ b/src/include/c.h
@@ -491,11 +491,9 @@ typedef char *Pointer;
* used for numerical computations and the
* frontend/backend protocol.
*/
-#ifndef HAVE_INT8
typedef signed char int8; /* == 8 bits */
typedef signed short int16; /* == 16 bits */
typedef signed int int32; /* == 32 bits */
-#endif /* not HAVE_INT8 */
/*
* uintN
@@ -503,11 +501,9 @@ typedef signed int int32; /* == 32 bits */
* used for numerical computations and the
* frontend/backend protocol.
*/
-#ifndef HAVE_UINT8
typedef unsigned char uint8; /* == 8 bits */
typedef unsigned short uint16; /* == 16 bits */
typedef unsigned int uint32; /* == 32 bits */
-#endif /* not HAVE_UINT8 */
/*
* bitsN
@@ -523,23 +519,15 @@ typedef uint32 bits32; /* >= 32 bits */
#ifdef HAVE_LONG_INT_64
/* Plain "long int" fits, use it */
-#ifndef HAVE_INT64
typedef long int int64;
-#endif
-#ifndef HAVE_UINT64
typedef unsigned long int uint64;
-#endif
#define INT64CONST(x) (x##L)
#define UINT64CONST(x) (x##UL)
#elif defined(HAVE_LONG_LONG_INT_64)
/* We have working support for "long long int", use that */
-#ifndef HAVE_INT64
typedef long long int int64;
-#endif
-#ifndef HAVE_UINT64
typedef unsigned long long int uint64;
-#endif
#define INT64CONST(x) (x##LL)
#define UINT64CONST(x) (x##ULL)
#else