On Tue, 1 Apr 2025, Jacek Caban wrote:

> diff --git a/mingw-w64-crt/include/internal.h 
> b/mingw-w64-crt/include/internal.h
> index 84d52c991..b30ae0e5f 100644
> --- a/mingw-w64-crt/include/internal.h
> +++ b/mingw-w64-crt/include/internal.h
> @@ -287,6 +287,14 @@ static inline unsigned int __mingw_statusfp(void)
>      return flags;
>  }
>
> +#define __ASM_FUNC_CODE(name,code)  \
> +    asm(".text\n\t" \
> +        ".p2align 2\n\t" \
> +        ".globl " __MINGW64_STRINGIFY(__MINGW_USYMBOL(trunc)) "\n\t"    \
> +        ".def " __MINGW64_STRINGIFY(__MINGW_USYMBOL(trunc)) "; .scl 2; .type 
> 32; .endef\n\t" \
> +        __MINGW64_STRINGIFY(__MINGW_USYMBOL(trunc)) ":\n\t"             \
> +        code "\n\t");
> +
>  #ifdef __cplusplus
>  }
>  #endif

Is this supposed to be "trunc" or rather "name"?


_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to