mirror of
https://github.com/fluencelabs/musl
synced 2025-05-21 03:31:29 +00:00
make signgam a weak alias for an internal symbol
otherwise, the standard C lgamma function will clobber a symbol in the namespace reserved for the application.
This commit is contained in:
parent
de7db6e927
commit
1a3dce4184
@ -1,2 +1,5 @@
|
||||
#include <math.h>
|
||||
int signgam = 0;
|
||||
#include "libm.h"
|
||||
|
||||
int __signgam = 0;
|
||||
|
||||
weak_alias(__signgam, signgam);
|
||||
|
Loading…
x
Reference in New Issue
Block a user