Skip to content

Commit

Permalink
include/tccdefs: Add function renaming with __REDIRECT_NTHNL (0.9.28r…
Browse files Browse the repository at this point in the history
…c testing)

Fixes a compilation break in "glob.h"
Detected during tcc 0.9.28rc testing.
Affected project: https://github.com/craigbarnes/dte

--
Regards ... Detlef
  • Loading branch information
winspool committed Sep 17, 2023
1 parent 7f39b4f commit 3d12804
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion include/tccdefs.h
Original file line number Diff line number Diff line change
Expand Up @@ -145,9 +145,10 @@
#define __INT32_TYPE__ int

#if !defined _WIN32
/* glibc defines */
/* glibc defines. We do not support __USER_NAME_PREFIX__ */
#define __REDIRECT(name, proto, alias) name proto __asm__ (#alias)
#define __REDIRECT_NTH(name, proto, alias) name proto __asm__ (#alias) __THROW
#define __REDIRECT_NTHNL(name, proto, alias) name proto __asm__ (#alias) __THROWNL
#endif

/* skip __builtin... with -E */
Expand Down

0 comments on commit 3d12804

Please sign in to comment.