From 24d2ae5e9debe4b75151a55251031a14477fa875 Mon Sep 17 00:00:00 2001 From: Peter Tyser Date: Fri, 13 Mar 2009 18:54:28 -0500 Subject: [PATCH] elf.h: Use stdint.h to provide standard typedefs for WIN32 The original code provided an incomplete set of typedefs for WIN32 compiles and replicated the standard typedefs that are already provided by stdint.h Signed-off-by: Peter Tyser --- include/elf.h | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/include/elf.h b/include/elf.h index a9839df3f2..f6403881bf 100644 --- a/include/elf.h +++ b/include/elf.h @@ -39,13 +39,8 @@ defined(__sun__) || \ defined(__APPLE__) #include -#elif defined(__linux__) && defined(USE_HOSTCC) +#elif (defined(__linux__) && defined(USE_HOSTCC)) || defined(__WIN32__) #include -#elif defined(__WIN32__) -#include -typedef unsigned char uint8_t; -typedef unsigned short uint16_t; -typedef unsigned int uint32_t; #endif /* -- 2.39.5