From 5e7aa7955f39f14fa50f4ef03e1e9d5f978f316d Mon Sep 17 00:00:00 2001 From: Marcel Telka Date: Fri, 6 Aug 2004 07:16:55 +0000 Subject: [PATCH] 2004-08-06 Marcel Telka * win32/stdint.h (uintptr_t): Changed type definition from DWORD_PTR to UINT_PTR. git-svn-id: https://urjtag.svn.sourceforge.net/svnroot/urjtag/trunk@600 b68d4a1b-bc3d-0410-92ed-d4ac073336b7 --- include/ChangeLog | 4 ++++ include/NEWS | 1 + include/win32/stdint.h | 4 ++-- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/include/ChangeLog b/include/ChangeLog index 44ac040d..406dd690 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,7 @@ +2004-08-06 Marcel Telka + + * win32/stdint.h (uintptr_t): Changed type definition from DWORD_PTR to UINT_PTR. + 2003-11-19 Marcel Telka * configure.ac (AC_INIT): Changed version number to 0.3.3. diff --git a/include/NEWS b/include/NEWS index 266c4bfd..4a67049a 100644 --- a/include/NEWS +++ b/include/NEWS @@ -4,6 +4,7 @@ include-0.3.3: * Added Renesas SH7750 CCN registers. * Added more manufacturer entries into Manufacturer's Identification Code database. + * Ported uintptr_t type in win32/stdint.h to old Windows SDK. * Changes in brux common headers: - Added new parameter (adr) for detectflash function diff --git a/include/win32/stdint.h b/include/win32/stdint.h index 402baa89..413e7aa9 100644 --- a/include/win32/stdint.h +++ b/include/win32/stdint.h @@ -42,7 +42,7 @@ * Integer Types */ -/* Exactly-width integer types */ +/* Exact-width integer types */ typedef CHAR int8_t; typedef SHORT int16_t; @@ -79,7 +79,7 @@ typedef UINT64 uint_fast64_t; /* Integer types capable of holding object pointers */ typedef INT_PTR intptr_t; -typedef DWORD_PTR uintptr_t; +typedef UINT_PTR uintptr_t; /* Greatest-width integer types */