In article ,
Christos Zoulas wrote:
>In article <20180908230813.ga22...@sdf.org>, wrote:
>>we do this in stdint.h and some other headers:
>>
>>#ifndef uint32_t
>>typedef __uint32_t uint32_t;
>>#define uint32_t__uint32_t
>>#endif
>>
>>
>>Real-world examples:
>>https://github.com/neov
In article <20180908230813.ga22...@sdf.org>, wrote:
>we do this in stdint.h and some other headers:
>
>#ifndef uint32_t
>typedef __uint32_t uint32_t;
>#define uint32_t__uint32_t
>#endif
>
>
>Real-world examples:
>https://github.com/neovim/neovim/blob/94841e5eaebc3f2fb556056dd676afff2
we do this in stdint.h and some other headers:
#ifndef uint32_t
typedef __uint32_t uint32_t;
#define uint32_t__uint32_t
#endif
then, if a package does something like this:
#include
#define function(name, type) int name##_##type() { return 3; }
#define useless_wrapper(name, type)