/usr/include/cxconfig.h is in libcext-dev 7.1-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 | /*
* cxconfig.h: This is a generated file! Do not edit this file!
* All changes will be lost!
*/
#ifndef CXCONFIG_H_
#define CXCONFIG_H_
#include <limits.h>
#include <float.h>
#include <stdint.h>
#include <inttypes.h>
#include <cxmacros.h>
CX_BEGIN_DECLS
/*
* Limits for numerical data types
*/
#define CX_MINSHORT SHRT_MIN
#define CX_MAXSHORT SHRT_MAX
#define CX_MAXUSHORT USHRT_MAX
#define CX_MININT INT_MIN
#define CX_MAXINT INT_MAX
#define CX_MAXUINT UINT_MAX
#define CX_MINLONG LONG_MIN
#define CX_MAXLONG LONG_MAX
#define CX_MAXULONG ULONG_MAX
#define CX_MINFLOAT FLT_MIN
#define CX_MAXFLOAT FLT_MAX
#define CX_MINDOUBLE DBL_MIN
#define CX_MAXDOUBLE DBL_MAX
/*
* Number of bits per char
*/
#define CX_CHAR_BIT 8
/*
* Fixed size integer types
*/
/* Macros for formatted output */
#define CX_PRINTF_FORMAT_INT8 PRIi8
#define CX_PRINTF_FORMAT_UINT8 PRIu8
#define CX_PRINTF_FORMAT_INT16 PRIi16
#define CX_PRINTF_FORMAT_UINT16 PRIu16
#define CX_PRINTF_FORMAT_INT32 PRIi32
#define CX_PRINTF_FORMAT_UINT32 PRIu32
#define CX_PRINTF_FORMAT_INT64 PRIi64
#define CX_PRINTF_FORMAT_UINT64 PRIu64
/* Macros for formatted output */
#define CX_SCANF_FORMAT_INT8 SCNi8
#define CX_SCANF_FORMAT_UINT8 SCNu8
#define CX_SCANF_FORMAT_INT16 SCNi16
#define CX_SCANF_FORMAT_UINT16 SCNu16
#define CX_SCANF_FORMAT_INT32 SCNi32
#define CX_SCANF_FORMAT_UINT32 SCNu32
#define CX_SCANF_FORMAT_INT64 SCNi64
#define CX_SCANF_FORMAT_UINT64 SCNu64
/* Type definitions */
typedef int8_t cxint8;
typedef uint8_t cxuint8;
typedef int16_t cxint16;
typedef uint16_t cxuint16;
typedef int32_t cxint32;
typedef uint32_t cxuint32;
typedef int64_t cxint64;
typedef uint64_t cxuint64;
#define CX_INT64_CONSTANT(val) (val##L)
#define CX_UINT64_CONSTANT(val) (val##UL)
#define CX_SIZEOF_VOID_P 8
#define CX_SIZEOF_SIZE_T 8
/*
* Size type
*/
#define CX_PRINTF_FORMAT_SIZE_TYPE "lu"
#define CX_PRINTF_FORMAT_SSIZE_TYPE "li"
#define CX_SCANF_FORMAT_SIZE_TYPE "lu"
#define CX_SCANF_FORMAT_SSIZE_TYPE "li"
typedef signed long cxssize;
typedef unsigned long cxsize;
#define CX_MINSSIZE CX_MINLONG
#define CX_MAXSSIZE CX_MAXLONG
#define CX_MAXSIZE CX_MAXULONG
typedef cxint64 cxoffset;
#define CX_MINOFFSET CX_MININT64
#define CX_MAXOFFSET CX_MAXINT64
/*
* Pointer to integer conversion
*/
#define CX_POINTER_TO_INT(ptr) ((cxint) (cxlong) (ptr))
#define CX_POINTER_TO_UINT(ptr) ((cxint) (cxlong) (ptr))
#define CX_INT_TO_POINTER(val) ((cxptr) (cxlong) (val))
#define CX_UINT_TO_POINTER(val) ((cxptr) (cxlong) (val))
#ifdef __cplusplus
# define CX_HAVE_INLINE 1
#else
#endif
#ifdef __cplusplus
# define CX_CAN_INLINE 1
#endif
#define CX_HAVE_GNUC_VISIBILITY 1
#if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
# define CX_GNUC_INTERNAL __attribute__((visibility("hidden")))
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
# define CX_GNUC_INTERNAL __hidden
#elif defined (__GNUC__) && defined (CX_HAVE_GNUC_VISIBILITY)
# define CX_GNUC_INTERNAL __attribute__((visibility("hidden")))
#else
# define CX_GNUC_INTERNAL /* empty */
#endif
CX_END_DECLS
#endif /* CXCONFIG_H_ */
|