|
From: | Peter O'Gorman |
Subject: | Re: uint64_t fails with C++ |
Date: | Wed, 07 Dec 2011 11:31:24 -0600 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.22) Gecko/20110906 Fedora/3.1.14-1.fc14 Thunderbird/3.1.14 |
On 12/07/2011 03:17 AM, Werner LEMBERG wrote:
#if defined UINT64_MAX || defined uint64_t typedef uint64_t TA_ULongLong; #else # error "No unsigned 64bit wide data type found." #endif
stdint.h will not define UINT64_MAX if __cplusplus is defined unless __STDC_LIMIT_MACROS is defined before you include it.
Peter
[Prev in Thread] | Current Thread | [Next in Thread] |