Before messing with macros from stdio.h, include cstdio. Some parts of

the backend would include it afterwards and the macro changes conflict
with libc++'s version of cstdio.
This commit is contained in:
joerg 2014-03-29 21:33:39 +00:00
parent f1eb9b5b9c
commit 0e80d9e124

View File

@ -37,6 +37,12 @@ along with GCC; see the file COPYING3. If not see
# include <stddef.h>
#endif
#ifndef GENERATOR_FILE
#ifdef __cplusplus
# include <cstdio>
#endif
#endif
#include <stdio.h>
/* Define a generic NULL if one hasn't already been defined. */