Skip to content
This repository was archived by the owner on Nov 22, 2023. It is now read-only.

Commit 3d12804

Browse files
committed
include/tccdefs: Add function renaming with __REDIRECT_NTHNL (0.9.28rc testing)
Fixes a compilation break in "glob.h" Detected during tcc 0.9.28rc testing. Affected project: https://github.com/craigbarnes/dte -- Regards ... Detlef
1 parent 7f39b4f commit 3d12804

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/tccdefs.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,9 +145,10 @@
145145
#define __INT32_TYPE__ int
146146

147147
#if !defined _WIN32
148-
/* glibc defines */
148+
/* glibc defines. We do not support __USER_NAME_PREFIX__ */
149149
#define __REDIRECT(name, proto, alias) name proto __asm__ (#alias)
150150
#define __REDIRECT_NTH(name, proto, alias) name proto __asm__ (#alias) __THROW
151+
#define __REDIRECT_NTHNL(name, proto, alias) name proto __asm__ (#alias) __THROWNL
151152
#endif
152153

153154
/* skip __builtin... with -E */

0 commit comments

Comments
 (0)