This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
| Other format: | [Raw text] | |
Tested on i686-linux, committed on trunk The first part of this change addresses the fact that utime.h on Lynxos 3 only defines the entities we need if defined (VMOS_DEV). The second part is to prevent errors from the indirect inclusion of GCC's resource.h instead of the Lynxos version via the Lynxos wait.h header file. This is a workaround: the header files conflict should be addressed in a cleaner way at some point. 2007-09-26 Olivier Hainque <hainque@adacore.com> * adaint.c (if defined (__Lynx__)): Wrap #def/#undef VMOS_DEV around #include <utime.h> and #define GCC_RESOURCE_H before #include <sys/wait.h>. Add more protections in __gnat_translate_vms. * expect.c (if defined (__Lynx__)): #define GCC_RESOURCE_H before #include <sys/wait.h>.
Attachment:
difs
Description: Text document
| Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
|---|---|---|
| Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |