These extensions where used by other compiler to generate different code on old cpu's (arm and x86 before pentium/pentiumpro) to prevent processor exceptions / very high delays when accessing an unaligned pointer. -- Regards ... Detlef
Showing the changes to include (1 of 1 file). Show all
Unified · Split
| @@ -68,7 +68,11 @@ · 67 unmodified lines | |||
| 68 | #define __WINT_TYPE__ int | 68 | #define __WINT_TYPE__ int |
| 69 | #endif | 69 | #endif |
| 70 | 70 | ||
| 71 | #if __STDC_VERSION__ == 201112L | 71 | /* extension to generate different code on old cpu's (>20y ago) */ |
| 72 | #define _unaligned | ||
| 73 | #define __unaligned | ||
| 74 | |||
| 75 | #if __STDC_VERSION__ >= 201112L | ||
| 72 | # define __STDC_NO_ATOMICS__ 1 | 76 | # define __STDC_NO_ATOMICS__ 1 |
| 73 | # define __STDC_NO_COMPLEX__ 1 | 77 | # define __STDC_NO_COMPLEX__ 1 |
| 74 | # define __STDC_NO_THREADS__ 1 | 78 | # define __STDC_NO_THREADS__ 1 |