mirror of
https://github.com/TinyCC/tinycc.git
synced 2025-11-16 12:34:45 +00:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user