diff options
Diffstat (limited to 'fixincludes/fixinc.in')
-rwxr-xr-x | fixincludes/fixinc.in | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/fixincludes/fixinc.in b/fixincludes/fixinc.in index e73aed99a1b..f7b8d8f1ee3 100755 --- a/fixincludes/fixinc.in +++ b/fixincludes/fixinc.in @@ -128,6 +128,22 @@ fi # # # # # # # # # # # # # # # # # # # # # # +# Check to see if the machine_name fix needs to be disabled. +# +# On some platforms, machine_name doesn't work properly and +# breaks some of the header files. Since everything works +# properly without it, just wipe the macro list to +# disable the fix. + +case "${target_canonical}" in + *-*-vxworks*) + test -f ${MACRO_LIST} && echo > ${MACRO_LIST} + ;; +esac + + +# # # # # # # # # # # # # # # # # # # # # +# # In the file macro_list are listed all the predefined # macros that are not in the C89 reserved namespace (the reserved # namespace is all identifiers beginnning with two underscores or one |