From 54eb53c099f90dbd6aa28401f867513010746924 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Sun, 27 Oct 2002 14:59:36 +0000 Subject: [PATCH] Ported to cygwin/newlib (intX_t are defined in sys/types.h). git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@226 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- include/stdint.h | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/include/stdint.h b/include/stdint.h index ec1566db..76619345 100644 --- a/include/stdint.h +++ b/include/stdint.h @@ -24,13 +24,17 @@ #include /* 7.18.1.1 Exact-width integer types */ +#if defined(__CYGWIN__) +#include +#else typedef signed char int8_t; -typedef unsigned char uint8_t; typedef short int16_t; -typedef unsigned short uint16_t; typedef int int32_t; -typedef unsigned uint32_t; typedef long long int64_t; +#endif +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; +typedef unsigned uint32_t; typedef unsigned long long uint64_t; /* 7.18.1.2 Minimum-width integer types */