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:
parent
f1eb9b5b9c
commit
0e80d9e124
6
external/gpl3/gcc/dist/gcc/system.h
vendored
6
external/gpl3/gcc/dist/gcc/system.h
vendored
@ -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. */
|
||||
|
Loading…
Reference in New Issue
Block a user