Kelvin Zhang | 20814ad | 2022-03-02 16:20:15 +0800 | [diff] [blame^] | 1 | diff -bwBurN '--exclude=.*' gcc-arm-none-eabi/arm-none-eabi/include/sys/features.h gcc-arm-none-eabi_mod/arm-none-eabi/include/sys/features.h |
| 2 | --- gcc-arm-none-eabi/arm-none-eabi/include/sys/features.h 2022-02-02 19:51:54.000000000 +0800 |
| 3 | +++ gcc-arm-none-eabi_mod/arm-none-eabi/include/sys/features.h 2022-02-24 20:14:22.894851118 +0800 |
| 4 | @@ -117,7 +117,7 @@ |
| 5 | #undef _POSIX_SOURCE |
| 6 | #define _POSIX_SOURCE 1 |
| 7 | #undef _POSIX_C_SOURCE |
| 8 | -#define _POSIX_C_SOURCE 200809L |
| 9 | +#define _POSIX_C_SOURCE 199309L |
| 10 | #undef _XOPEN_SOURCE |
| 11 | #define _XOPEN_SOURCE 700 |
| 12 | #undef _XOPEN_SOURCE_EXTENDED |
| 13 | diff -bwBurN '--exclude=.*' gcc-arm-none-eabi/arm-none-eabi/include/sys/time.h gcc-arm-none-eabi_mod/arm-none-eabi/include/sys/time.h |
| 14 | --- gcc-arm-none-eabi/arm-none-eabi/include/sys/time.h 2022-02-02 19:51:54.000000000 +0800 |
| 15 | +++ gcc-arm-none-eabi_mod/arm-none-eabi/include/sys/time.h 2022-02-24 20:18:11.334041401 +0800 |
| 16 | @@ -437,7 +437,7 @@ |
| 17 | #endif |
| 18 | |
| 19 | #ifdef _COMPILING_NEWLIB |
| 20 | -int _gettimeofday (struct timeval *__p, void *__tz); |
| 21 | +int _gettimeofday (struct timeval *__p, struct timezone *__tz); |
| 22 | #endif |
| 23 | |
| 24 | __END_DECLS |
| 25 | diff -bwBurN '--exclude=.*' gcc-arm-none-eabi/arm-none-eabi/include/sys/types.h gcc-arm-none-eabi_mod/arm-none-eabi/include/sys/types.h |
| 26 | --- gcc-arm-none-eabi/arm-none-eabi/include/sys/types.h 2022-02-02 19:51:54.000000000 +0800 |
| 27 | +++ gcc-arm-none-eabi_mod/arm-none-eabi/include/sys/types.h 2022-02-24 20:12:02.823132172 +0800 |
| 28 | @@ -220,7 +220,7 @@ |
| 29 | typedef __int64_t sbintime_t; |
| 30 | |
| 31 | #include <sys/features.h> |
| 32 | -#include <sys/_pthreadtypes.h> |
| 33 | +/*#include <sys/_pthreadtypes.h>*/ |
| 34 | #include <machine/types.h> |
| 35 | |
| 36 | #endif /* !__need_inttypes */ |