/* DLIFE Copyright (C) 2000 Richard W.M. Jones * and other authors listed in the ``AUTHORS'' file. * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU 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 General Public License for more details. * * You should have received a copy of the GNU 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. * * $Id: types.h,v 1.1 2002/04/05 14:40:28 rich Exp $ */ #ifndef types_h #define types_h #include "config.h" /* Apparently these are now defined by the ISO C 9x standard. */ #ifdef HAVE_STDINT_H #include #else typedef unsigned char uint8_t; typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef signed char int8_t; typedef short int16_t; typedef int int32_t; #endif typedef uint8_t byte_t; typedef int32_t addr_t; typedef int16_t reg_t; #endif /* types_h */