History

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

Detlef Riekenberg committed 3 years ago

Commit afa05ca1 parent 95aab7d1 file · +5 −1Browse files

Unified · Split

include/tccdefs.h+5−1
@@ -68,7 +68,11 @@ · 67 unmodified lines
68 #define __WINT_TYPE__ int68 #define __WINT_TYPE__ int
69#endif69#endif
70 70
71 #if __STDC_VERSION__ == 201112L71 /* 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__ 176 # define __STDC_NO_ATOMICS__ 1
73 # define __STDC_NO_COMPLEX__ 177 # define __STDC_NO_COMPLEX__ 1
74 # define __STDC_NO_THREADS__ 178 # define __STDC_NO_THREADS__ 1

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t