mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
*BSD: Fix getentropy() declaration.
Thanks to dundargoc.
This commit is contained in:
parent
c4adf49204
commit
c93890ed8b
@ -126,7 +126,7 @@ static PRGR libfunc_rgr;
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if LJ_TARGET_HAS_GETENTROPY
|
#if LJ_TARGET_HAS_GETENTROPY
|
||||||
extern int getentropy(void *buf, size_t len);
|
extern int getentropy(void *buf, size_t len)
|
||||||
#ifdef __ELF__
|
#ifdef __ELF__
|
||||||
__attribute__((weak))
|
__attribute__((weak))
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
Reference in New Issue
Block a user