mirror of
https://github.com/TinyCC/tinycc.git
synced 2025-11-16 12:34:45 +00:00
Revert "Fix tcc -run on Windows" (almost)
Oviously what the patch wants is... on Windows, with "tcc c:/dir/xyz.dll -run file"... pass the absolute path of the dll to LoadLibrary() which can make sense in situations. Other changes in the patch to other platfurms seem to have no effect. This reverts52a9a541b0except 2 lines in tccpe.c. Also revert _Float16 patcha06c608625As long as tcc does not really handle _Float16, we can just define it in tccdefs.h. Also move uint128_t to tccdefs.h for same reason. Update github action (might fix random arm64 crashes)
This commit is contained in:
@@ -125,6 +125,7 @@
|
||||
#define __FINITE_MATH_ONLY__ 1
|
||||
#define _FORTIFY_SOURCE 0
|
||||
//#define __has_builtin(x) 0
|
||||
#define _Float16 short unsigned int /* fake type just for size & alignment (macOS Sequoia) */
|
||||
|
||||
#elif defined __ANDROID__
|
||||
#define BIONIC_IOCTL_NO_SIGNEDNESS_OVERLOAD
|
||||
@@ -141,6 +142,12 @@
|
||||
#endif
|
||||
#define __INT32_TYPE__ int
|
||||
|
||||
#if defined __aarch64__
|
||||
/* GCC's __uint128_t appears in some Linux/OSX header files. Make it a
|
||||
synonym for long double to get the size and alignment right. */
|
||||
#define __uint128_t long double
|
||||
#endif
|
||||
|
||||
#if !defined _WIN32
|
||||
/* glibc defines. We do not support __USER_NAME_PREFIX__ */
|
||||
#define __REDIRECT(name, proto, alias) name proto __asm__ (#alias)
|
||||
|
||||
Reference in New Issue
Block a user