diff options
Diffstat (limited to 'include/types.h')
-rw-r--r-- | include/types.h | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/include/types.h b/include/types.h new file mode 100644 index 0000000..cbadd7c --- /dev/null +++ b/include/types.h @@ -0,0 +1,28 @@ +/****************************************************************************** + * Copyright (c) 2004, 2008 IBM Corporation + * All rights reserved. + * This program and the accompanying materials + * are made available under the terms of the BSD License + * which accompanies this distribution, and is available at + * http://www.opensource.org/licenses/bsd-license.php + * + * Contributors: + * IBM Corporation - initial implementation + *****************************************************************************/ + +#ifndef _TYPES_H +#define _TYPES_H + +#warning "This file is obsolete. Please use #include <stdint.h> instead." + +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; +typedef unsigned int uint32_t; +typedef unsigned long long uint64_t; + +typedef signed char int8_t; +typedef signed short int16_t; +typedef signed int int32_t; +typedef signed long long int64_t; + +#endif |