diff options
author | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-12-07 13:17:14 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff-webhosting.net> | 2022-12-07 13:17:14 +0100 |
commit | 4875a3dd9b183dcd2256e2abfc4ccf7484c233b4 (patch) | |
tree | 0abbea881ded030851014ffdd60fbf71fead8f65 /src/include/xbtypes.h | |
parent | daf17154bf13139d9375f48525d19d6aaba08155 (diff) |
New upstream version 4.0.2upstream/4.0.2
Diffstat (limited to 'src/include/xbtypes.h')
-rwxr-xr-x | src/include/xbtypes.h | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/src/include/xbtypes.h b/src/include/xbtypes.h new file mode 100755 index 0000000..99b6c22 --- /dev/null +++ b/src/include/xbtypes.h @@ -0,0 +1,55 @@ +/* xbtypes.h + +XBase64 Software Library + +Copyright (c) 1997,2003,2014,2022 Gary A Kunkel + +The xb64 software library is covered under the terms of the GPL Version 3, 2007 license. + +Email Contact: + + XDB-devel@lists.sourceforge.net + XDB-users@lists.sourceforge.net + +*/ + +#ifndef __XB_XTYPES_H__ +#define __XB_XTYPES_H__ + +namespace xb{ + + +typedef float xbFloat; +typedef double xbDouble; +typedef short int xbBool; +typedef xbUInt64 xbOffT; + + +#define xbTrue 1 +#define xbFalse 0 + + +#ifdef HAVE__FILENO_F + #define xbFileNo _fileno +#else + #define xbFileNo fileno +#endif + +#ifdef XB_LOCKING_SUPPORT + #if defined( HAVE_LONG_LONG ) + #define LK4026531839 4026531839LL + #define LK4026531838 4026531838LL + #define LK3026531838 3026531838LL + #define LK1000000000 1000000000LL + #else + #define LK4026531839 4026531839L + #define LK4026531838 4026531838L + #define LK3026531838 3026531838L + #define LK1000000000 1000000000L + #endif +#endif + + + +} /* namespace */ +#endif /* __XB_XTYPES_H__ */ |