Ignore _unaligned and __unaligned. Required >15years ago, but still present in old code

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
This commit is contained in:
Detlef Riekenberg 2023-03-23 17:14:29 +01:00
parent 95aab7d687
commit afa05caacf

View file

@ -68,7 +68,11 @@
#define __WINT_TYPE__ int
#endif
#if __STDC_VERSION__ == 201112L
/* extension to generate different code on old cpu's (>20y ago) */
#define _unaligned
#define __unaligned
#if __STDC_VERSION__ >= 201112L
# define __STDC_NO_ATOMICS__ 1
# define __STDC_NO_COMPLEX__ 1
# define __STDC_NO_THREADS__ 1