From e6774934aa3dfe9e5edc098746b4c7acb2bfa022 Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Wed, 2 Apr 2003 09:11:40 +0000 Subject: [PATCH] 2003-04-02 Marcel Telka * stdint.h: Ported to NetBSD (thanks to Jachym Holecek). git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@413 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- include/ChangeLog | 4 ++++ include/NEWS | 2 ++ include/stdint.h | 6 ++++++ 3 files changed, 12 insertions(+) diff --git a/include/ChangeLog b/include/ChangeLog index 85932b39..f95deb38 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2003-04-02 Marcel Telka + + * stdint.h: Ported to NetBSD (thanks to Jachym Holecek). + 2003-03-19 Marcel Telka Version 0.2.2 released. diff --git a/include/NEWS b/include/NEWS index 23e18a72..218388cf 100644 --- a/include/NEWS +++ b/include/NEWS @@ -1,5 +1,7 @@ $Id$ + * Ported stdint.h to NetBSD (thanks to Jachym Holecek). + include-0.2.2 (2003-03-19): * stdint.h ported to cygwin-1.3.21 and later. diff --git a/include/stdint.h b/include/stdint.h index 1568b06e..263b0e2c 100644 --- a/include/stdint.h +++ b/include/stdint.h @@ -23,6 +23,10 @@ #define __need_wchar_t #include +#if defined(__NetBSD__) +#include +#else + /* 7.18.1.1 Exact-width integer types */ #if defined(__CYGWIN__) #include @@ -205,4 +209,6 @@ typedef unsigned long long uintmax_t; #endif /* !defined ( __cplusplus) || defined __STDC_CONSTANT_MACROS */ +#endif /* defined(__NetBSD__) */ + #endif