blob: 99b6c22c4c0d784bf9211457fa16b708086f1edb (
plain)
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
|
/* 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__ */
|