-
Ben Avison authored
Detail: Two problems: first, in machine/types.h, stdint.h was included unless KERNEL was defined; doing this triggers a #error unless you're working in C99 mode (eg rpclib and socklib, which are compiled in PCC mode). Second, sys/types.h tries to define its own 64-bit struct types, with names that clash with C99's own 64-bit types. Both are fixed by wrapping them in checks on the value of __STDC_VERSION__, and then only including and using stdint.h if the compiler is in C99 mode. Unfortunately this does generate warnings in PCC mode because __STDC_VERSION__ is undefined. Admin: Builds, but not extensively tested. Version 5.43. Tagged as 'TCPIPLibs-5_43'
5e99fc1b