# HG changeset patch # User ipse.c99@d525d15b-5824-0410-80a3-6185d19c2cde # Date 1242212028 0 # Node ID ff2caa6b48d1dc7b58b5f25c501dcb62efdf4d44 # Parent c0040f8fc49bd5a0699ca91c3fd37a547ba299dc Forgot about #ifdef __cplusplus guard around 'extern "C"', so inclusion to C files has been broken. diff --git a/stdint.h b/stdint.h --- a/stdint.h +++ b/stdint.h @@ -46,9 +46,13 @@ // compiling for ARM we should wrap include with 'extern "C++" {}' // or compiler give many errors like this: // error C2733: second C linkage of overloaded function 'wmemchr' not allowed +#ifdef __cplusplus extern "C" { -# include +#endif +# include +#ifdef __cplusplus } +#endif // Define _W64 macros to mark types changing their size, like intptr_t. #ifndef _W64