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
18 18
19#if __SIZEOF_POINTER__ == 419#if __SIZEOF_POINTER__ == 4
20 /* 32bit systems. */20 /* 32bit systems. */
21#if defined TARGETOS_OpenBSD21#if defined __OpenBSD__
22 #define __SIZE_TYPE__ unsigned long22 #define __SIZE_TYPE__ unsigned long
23 #define __PTRDIFF_TYPE__ long23 #define __PTRDIFF_TYPE__ long
24#else24#else
@@ -68,12 +68,6 @@ · 43 unmodified lines
68 #define __WINT_TYPE__ int68 #define __WINT_TYPE__ int
69#endif69#endif
70 70
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
77 #if __STDC_VERSION__ >= 201112L71 #if __STDC_VERSION__ >= 201112L
78 # define __STDC_NO_ATOMICS__ 172 # define __STDC_NO_ATOMICS__ 1
79 # define __STDC_NO_COMPLEX__ 173 # define __STDC_NO_COMPLEX__ 1
@@ -135,6 +129,7 @@ · 55 unmodified lines
135 #define BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD129 #define BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD
136 #define __PRETTY_FUNCTION__ __FUNCTION__130 #define __PRETTY_FUNCTION__ __FUNCTION__
137 #define __has_builtin(x) 0131 #define __has_builtin(x) 0
132 #define __has_feature(x) 0
138 #define _Nonnull133 #define _Nonnull
139 #define _Nullable134 #define _Nullable
140 135

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