History

lib/armeabi.c: fix zero from/to double conversion

tccgen.c: - allow cross-compiling 0.0L (cross-compile tcc with tcc) tccelf.c: - use alignment of TLS section for PT_TLS tccpp.c: - support long double constants on systems that do not support long doubles (i.e. mark them (VT_DOUBLE | VT_LONG)) tccdefs.h: #define __has_feature() for android remove _unaligned (why define a msvc extension under !_WIN32)

grischka committed 3 years ago

Commit 19ef0241 parent 86f3d8e5 files · +38 −27Browse files

Showing the changes to include (1 of 5 files). Show all

Unified · Split

include/tccdefs.h+2−7
@@ -18,7 +18,7 @@ · 17 unmodified lines
1818
1919 #if __SIZEOF_POINTER__ == 4
2020 /* 32bit systems. */
21−#if defined TARGETOS_OpenBSD
21+#if defined __OpenBSD__
2222 #define __SIZE_TYPE__ unsigned long
2323 #define __PTRDIFF_TYPE__ long
2424 #else
@@ -68,12 +68,6 @@ · 43 unmodified lines
6868 #define __WINT_TYPE__ int
6969 #endif
7070
71−#if !defined _WIN32
72− /* extension to generate different code on old cpu's (>20y ago) */
73− #define _unaligned
74− #define __unaligned
75−#endif
76−
7771 #if __STDC_VERSION__ >= 201112L
7872 # define __STDC_NO_ATOMICS__ 1
7973 # define __STDC_NO_COMPLEX__ 1
@@ -135,6 +129,7 @@ · 55 unmodified lines
135129 #define BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD
136130 #define __PRETTY_FUNCTION__ __FUNCTION__
137131 #define __has_builtin(x) 0
132+ #define __has_feature(x) 0
138133 #define _Nonnull
139134 #define _Nullable
140135

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