Xbase64 Class Library
3.1.2
|
00001 /* xbtypes.h 00002 00003 Xbase64 project source code 00004 00005 Copyright (C) 1997,2003 Gary A Kunkel 00006 00007 This program is free software; you can redistribute it and/or modify 00008 it under the terms of the GNU Lesser General Public License as published by 00009 the Free Software Foundation; either version 2 of the License, or 00010 (at your option) any later version. 00011 00012 This program is distributed in the hope that it will be useful, 00013 but WITHOUT ANY WARRANTY; without even the implied warranty of 00014 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00015 GNU Lesser General Public License for more details. 00016 00017 You should have received a copy of the GNU Lesser General Public License 00018 along with this program; if not, write to the Free Software 00019 Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 00020 00021 00022 Contact: 00023 00024 Email: 00025 00026 xdb-devel@lists.sourceforge.net 00027 xdb-users@lists.sourceforge.net 00028 00029 00030 Regular Mail: 00031 00032 XBase Support 00033 149C South Main St 00034 Keller Texas, 76248 00035 USA 00036 00037 */ 00038 00039 #ifndef __XB_XTYPES_H__ 00040 #define __XB_XTYPES_H__ 00041 00042 #include <stdio.h> 00043 00047 00048 00050 typedef unsigned long int xbULong; 00051 00053 00055 typedef unsigned short int xbUShort; 00056 00058 00060 typedef short int xbShort; 00061 typedef long xbLong; 00062 00063 00065 00067 typedef float xbFloat; 00068 00069 00071 00073 typedef double xbDouble; 00074 00076 00078 typedef short int xbBool; 00079 00081 00083 #ifdef XB_LOCKING_ON 00084 #ifdef __WIN32__ 00085 #else 00086 #endif 00087 #endif // XB_LOCKING_ON 00088 #endif // __XB_XTYPES_H__ 00089 00090 // 64 bit file processing 00091 #if defined(HAVE_FSEEKO) && defined(HAVE_FTELLO) && defined(XB_LARGEFILE_SUPPORT) 00092 #define _ftell ftello 00093 #define _fseek fseeko 00094 typedef off_t xbOffT; 00095 #else 00096 #define _ftell ftell 00097 #define _fseek fseek 00098 typedef long xbOffT; 00099 #endif