From fe20965c3f465b4530da870dc1b248b23f229066 Mon Sep 17 00:00:00 2001 From: inmarket Date: Wed, 18 Mar 2015 10:26:35 +1000 Subject: More updates for Keil with raw32 GOS. --- src/gos/gos_raw32.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/gos/gos_raw32.h') diff --git a/src/gos/gos_raw32.h b/src/gos/gos_raw32.h index 5a6a2aa7..158d9b19 100644 --- a/src/gos/gos_raw32.h +++ b/src/gos/gos_raw32.h @@ -43,16 +43,16 @@ typedef unsigned char bool_t; -#ifndef _STDINT_H - typedef char int8_t; +#if !defined(_STDINT_H) && !defined(__stdint_h) + typedef signed char int8_t; typedef unsigned char uint8_t; - typedef short int16_t; + typedef signed short int16_t; typedef unsigned short uint16_t; - typedef int int32_t; + typedef signed int int32_t; typedef unsigned int uint32_t; #endif -#if !defined (__need_size_t) && !defined (_STDDEF_H_) +#if !defined (__need_size_t) && !defined (_STDDEF_H_) && !defined(__stddef_h) typedef uint32_t size_t; #endif -- cgit v1.2.3