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:
parent
95aab7d687
commit
afa05caacf
1 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue