/usr/include/psitypes.h is in libpsi3-dev 3.4.0-6+b1.
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 | #ifndef _psi_include_psitypes_h_
#define _psi_include_psitypes_h_
#include <psiconfig.h>
/*
Define Psi data types here
*/
/* default PSI floating-point type */
typedef double PSI_FLOAT;
/* default PSI 64-bit integer */
#ifdef HAVE_STDINT_H
#include <stdint.h>
typedef int_least64_t PSI_INT_LEAST64;
#else
#include <climits>
#if defined(ULONGLONG_MAX) && !defined(ULLONG_MAX)
# define ULLONG_MAX ULONGLONG_MAX
#endif
#if defined(ULLONG_MAX) && !defined(ULONGLONG_MAX)
# define ULONGLONG_MAX ULLONG_MAX
#endif
# ifdef ULLONG_MAX
# if ULONGLONG_MAX == (0xffffffffffffffffuLL) /* uLL reqd for xlC */
typedef long long PSI_INT_LEAST64;
# else
# error defaults not correct; you must hand modify psitypes.h
# endif
# elif ULONG_MAX != 0xffffffff
# if ULONG_MAX == 18446744073709551615 /* 2**64 - 1 */
typedef long PSI_INT_LEAST64;
# else
# error defaults not correct; you must hand modify scint.h
# endif
# else /* assume no 64-bit integers */
# error 64 bit integer types are required
# endif
#endif /* HAVE_STDINT_H */
#endif
|