|
From: | Paul Eggert |
Subject: | Re: [PATCH] Re: stdint.h, C++ and __STDC_LIMIT_MACROS |
Date: | Mon, 2 Nov 2015 18:32:08 -0800 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 |
Pedro Alves wrote:
Instead of trying to detect the right types, detect good-enough-pre-C++11 stdint.h and in such case make the substitute stdint.h just wrap the system's stdint.h with __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS defined.
Instead, how about just adding the necessary #defines for __STDC_CONSTANT_MACROS/__STDC_LIMIT_MACROS to config.h if they are needed to fix the bug? Then we can leave stdint.h alone (perhaps not even build stdint.h at all).
[Prev in Thread] | Current Thread | [Next in Thread] |