From: robertlipe Date: Fri, 12 Jul 2013 21:55:23 +0000 (+0000) Subject: Remove special handling of MSVC from types.h now that we can rely on a grown-up X-Git-Tag: archive/raspbian/1.10.0+ds-2+rpi1~1^2~12^2~11^2~534 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=aa5d083c7611a63ac59531ab68ca9e52e0fe81e7;p=gpsbabel.git Remove special handling of MSVC from types.h now that we can rely on a grown-up inttypes. --- diff --git a/gpsbabel/gbtypes.h b/gpsbabel/gbtypes.h index fb8a89c36..01b52b313 100644 --- a/gpsbabel/gbtypes.h +++ b/gpsbabel/gbtypes.h @@ -22,23 +22,6 @@ #ifndef gb_types_h_included #define gb_types_h_included - -/* - * If this is a problem and any interesting system doesn't have the C99-ism - * of we'll come up with something more clever that'll likely - * include a gross collection of __STDC_VERSION >= 199901L || __GNUC__ - */ - -#if defined(_MSC_VER) - -typedef unsigned long gbuint32; -typedef unsigned short gbuint16; -typedef int gbint32; -typedef short gbint16; -#include - -#else - # if defined (__FreeBSD__) # include # else @@ -50,8 +33,6 @@ typedef uint16_t gbuint16; typedef int32_t gbint32; typedef int16_t gbint16; -#endif /* defined(_MSC_VER) */ - typedef gbuint32 gbsize_t; typedef unsigned char gbuint8; typedef signed char gbint8;