mirror of
git://git.musl-libc.org/musl
synced 2025-03-06 20:48:29 +01: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 changed files with 5 additions and 2 deletions
|
@ -1,2 +1,5 @@
|
|||
#include <math.h>
|
||||
int signgam = 0;
|
||||
#include "libm.h"
|
||||
|
||||
int __signgam = 0;
|
||||
|
||||
weak_alias(__signgam, signgam);
|
||||
|
|
Loading…
Add table
Reference in a new issue