* inclhack.def (vxworks_iolib_include_unistd): New fix.

From-SVN: r260763
This commit is contained in:
Rasmus Villemoes 2018-05-25 18:51:58 +02:00 committed by Jeff Law
parent f22ed1ed2a
commit 1afe3e77e8
2 changed files with 20 additions and 0 deletions

View file

@ -1,3 +1,7 @@
2018-05-25 Rasmus Villemoes <rasmus.villemoes@prevas.dk>
* inclhack.def (vxworks_iolib_include_unistd): New fix.
2018-04-18 David Malcolm <dmalcolm@redhat.com>
PR jit/85384

View file

@ -5010,6 +5010,22 @@ fix = {
test_text = "extern int write ( int , char * , size_t ) ;";
};
/*
* This hack ensures the include_next in the fixed unistd.h actually
* finds the system's unistd.h and not the fixed unistd.h again.
*/
fix = {
hackname = vxworks_iolib_include_unistd;
files = ioLib.h;
mach = "*-*-vxworks*";
select = "#include \"unistd.h\"";
c_fix = format;
c_fix_arg = "#include <unistd.h>";
test_text = "#include \"unistd.h\"";
};
/*
* There are several name conflicts with C++ reserved words in X11 header
* files. These are fixed in some versions, so don't do the fixes if