mirror of
https://github.com/jedisct1/libsodium.git
synced 2024-12-19 10:05:05 -07:00
Check if we need -lm for fe[gs]etenv()
This commit is contained in:
parent
b64beede1d
commit
707dcb0c44
@ -169,6 +169,7 @@ return sizeof(x) / CHAR_BIT != 16U
|
||||
dnl Checks for functions and headers
|
||||
|
||||
AC_CHECK_FUNC(clock_gettime, , [AC_CHECK_LIB(rt, clock_gettime)])
|
||||
AC_CHECK_FUNC(fegetenv, , [AC_CHECK_LIB(m, fegetenv)])
|
||||
|
||||
AC_CHECK_FUNCS([SecureZeroMemory])
|
||||
|
||||
|
@ -10,6 +10,8 @@ Public domain.
|
||||
|
||||
#include "crypto_onetimeauth.h"
|
||||
|
||||
#pragma STDC FENV_ACCESS ON
|
||||
|
||||
typedef uint8_t uchar;
|
||||
typedef int32_t int32;
|
||||
typedef uint32_t uint32;
|
||||
|
Loading…
Reference in New Issue
Block a user