From 3e6bddf63876bd3fef26e5b99d7475ea5dae33a9 Mon Sep 17 00:00:00 2001 From: Sven Gothel Date: Sat, 6 Nov 2010 06:35:05 +0100 Subject: Accomodate GlueGen's new build in type, ie dummy stdint.h / stddef.h Needs GlueGen 6b6b9b3b81cdc85b7260664ebec547756a6be5d7, branch sgothel_wip_fixes01. --- make/stub_includes/common/stdint.h | 24 +++++++----------------- 1 file changed, 7 insertions(+), 17 deletions(-) (limited to 'make/stub_includes/common/stdint.h') diff --git a/make/stub_includes/common/stdint.h b/make/stub_includes/common/stdint.h index 65e7fc22c..dd03d2d1e 100644 --- a/make/stub_includes/common/stdint.h +++ b/make/stub_includes/common/stdint.h @@ -1,17 +1,7 @@ -#if defined(_WIN32) - #error windows does not support stdint.h - // typedef signed __int32 int32_t; - // typedef unsigned __int32 uint32_t; - // typedef signed __int64 int64_t; - // typedef unsigned __int64 uint64_t; -#else - typedef signed int int32_t; - typedef unsigned int uint32_t; - #if defined(__ia64__) || defined(__x86_64__) - typedef signed long int int64_t; - typedef unsigned long int uint64_t; - #else - typedef signed long long int int64_t; - typedef unsigned long long int uint64_t; - #endif -#endif +#ifndef __stdint_h +#define __stdint_h + +#include + +#endif /* __stdint_h */ + -- cgit v1.2.3