Module: wine Branch: master Commit: 1362b0c04f1df59cfac7c3bfe60f5d43b8ba449b URL: https://gitlab.winehq.org/wine/wine/-/commit/1362b0c04f1df59cfac7c3bfe60f5d4... Author: Brendan Shanks <bshanks(a)codeweavers.com> Date: Tue Feb 14 21:12:55 2023 -0800 include: Add __ASM_LOCAL_LABEL macro. --- include/wine/asm.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/wine/asm.h b/include/wine/asm.h index 2448f591189..61e197d9586 100644 --- a/include/wine/asm.h +++ b/include/wine/asm.h @@ -27,6 +27,12 @@ # define __ASM_NAME(name) name #endif +#if defined(__APPLE__) +# define __ASM_LOCAL_LABEL(label) "L" label +#else +# define __ASM_LOCAL_LABEL(label) ".L" label +#endif + #if defined(__WINE_PE_BUILD) && defined(__i386__) # define __ASM_STDCALL(name,args) "_" name "@" #args # define __ASM_FASTCALL(name,args) "@" name "@" #args