From daf17154bf13139d9375f48525d19d6aaba08155 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sat, 2 Aug 2014 08:43:31 +0200 Subject: Imported Upstream version 3.1.2 --- xbase64/xbtypes.h | 99 +++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100755 xbase64/xbtypes.h (limited to 'xbase64/xbtypes.h') diff --git a/xbase64/xbtypes.h b/xbase64/xbtypes.h new file mode 100755 index 0000000..de5f08c --- /dev/null +++ b/xbase64/xbtypes.h @@ -0,0 +1,99 @@ +/* xbtypes.h + + Xbase64 project source code + + Copyright (C) 1997,2003 Gary A Kunkel + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU Lesser General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public License + along with this program; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + + Contact: + + Email: + + xdb-devel@lists.sourceforge.net + xdb-users@lists.sourceforge.net + + + Regular Mail: + + XBase Support + 149C South Main St + Keller Texas, 76248 + USA + +*/ + +#ifndef __XB_XTYPES_H__ +#define __XB_XTYPES_H__ + +#include + +/*! \file xbtypes.h +*/ + +//! xbULong type +/*! +*/ +typedef unsigned long int xbULong; + +//! xbUShort type +/*! +*/ +typedef unsigned short int xbUShort; + +//! xbShort type +/*! +*/ +typedef short int xbShort; +typedef long xbLong; + + +//! xbFloat type +/*! +*/ +typedef float xbFloat; + + +//! xbDouble type +/*! +*/ +typedef double xbDouble; + +//! xbBool type +/*! +*/ +typedef short int xbBool; + +//! xbOffT type +/*! +*/ +#ifdef XB_LOCKING_ON +#ifdef __WIN32__ +#else +#endif +#endif // XB_LOCKING_ON +#endif // __XB_XTYPES_H__ + +// 64 bit file processing +#if defined(HAVE_FSEEKO) && defined(HAVE_FTELLO) && defined(XB_LARGEFILE_SUPPORT) + #define _ftell ftello + #define _fseek fseeko + typedef off_t xbOffT; +#else + #define _ftell ftell + #define _fseek fseek + typedef long xbOffT; +#endif -- cgit v1.2.3