Re: Add conditional include of vxWorks.h for kernel mode

2021-01-13 Thread Alexandre Oliva
On Dec 29, 2020, Mike Stump wrote: > On Dec 22, 2020, at 1:14 PM, Alexandre Oliva wrote: >> >> In kernel mode, an application must include vxWorks.h before any other >> system header, this patch adds exactly that to the test that were >> failing due to a missing declaration that was found in

Re: Add conditional include of vxWorks.h for kernel mode

2020-12-29 Thread Mike Stump via Gcc-patches
On Dec 22, 2020, at 1:14 PM, Alexandre Oliva wrote: > > In kernel mode, an application must include vxWorks.h before any other > system header, this patch adds exactly that to the test that were > failing due to a missing declaration that was found in vxWorks.h. I'm inclined to rather have a

Add conditional include of vxWorks.h for kernel mode

2020-12-22 Thread Alexandre Oliva
In kernel mode, an application must include vxWorks.h before any other system header, this patch adds exactly that to the test that were failing due to a missing declaration that was found in vxWorks.h. Regstrapped on x86_64-linux-gnu, and tested with -x-arm-wrs-vxworks7r2. Ok to install?