Xbase64 4.0.1
C++ Library for handling Xbase (DBF) format type files
xbtypes.h
Go to the documentation of this file.
1/* xbtypes.h
2
3XBase64 Software Library
4
5Copyright (c) 1997,2003,2014,2022 Gary A Kunkel
6
7The xb64 software library is covered under the terms of the GPL Version 3, 2007 license.
8
9Email Contact:
10
11 XDB-devel@lists.sourceforge.net
12 XDB-users@lists.sourceforge.net
13
14*/
15
16#ifndef __XB_XTYPES_H__
17#define __XB_XTYPES_H__
18
19namespace xb{
20
21
22typedef float xbFloat;
23typedef double xbDouble;
24typedef short int xbBool;
25typedef xbUInt64 xbOffT;
26
27
28#define xbTrue 1
29#define xbFalse 0
30
31
32#ifdef HAVE__FILENO_F
33 #define xbFileNo _fileno
34#else
35 #define xbFileNo fileno
36#endif
37
38#ifdef XB_LOCKING_SUPPORT
39 #if defined( HAVE_LONG_LONG )
40 #define LK4026531839 4026531839LL
41 #define LK4026531838 4026531838LL
42 #define LK3026531838 3026531838LL
43 #define LK1000000000 1000000000LL
44 #else
45 #define LK4026531839 4026531839L
46 #define LK4026531838 4026531838L
47 #define LK3026531838 3026531838L
48 #define LK1000000000 1000000000L
49 #endif
50#endif
51
52
53
54} /* namespace */
55#endif /* __XB_XTYPES_H__ */
Definition: xbdate.cpp:19
double xbDouble
Definition: xbtypes.h:23
float xbFloat
Definition: xbtypes.h:22
short int xbBool
Definition: xbtypes.h:24
xbUInt64 xbOffT
Definition: xbtypes.h:25