mirror of
https://github.com/jedisct1/libsodium.git
synced 2026-08-25 08:37:13 +09:00
Revert "TinyC now crashes on Travis when compiling sysrandom"
This reverts commit 44dccfe6d4.
This commit is contained in:
@@ -23,7 +23,7 @@
|
||||
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
|
||||
# else
|
||||
# include <sys/syscall.h>
|
||||
# if defined(SYS_getrandom) && defined(__NR_getrandom) && !defined(__TINYC__)
|
||||
# if defined(SYS_getrandom) && defined(__NR_getrandom)
|
||||
# define getrandom(B, S, F) syscall(SYS_getrandom, (B), (int) (S), (F))
|
||||
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
|
||||
# endif
|
||||
|
||||
@@ -22,7 +22,7 @@
|
||||
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
|
||||
# else
|
||||
# include <sys/syscall.h>
|
||||
# if defined(SYS_getrandom) && defined(__NR_getrandom) && !defined(__TINYC__)
|
||||
# if defined(SYS_getrandom) && defined(__NR_getrandom)
|
||||
# define getrandom(B, S, F) syscall(SYS_getrandom, (B), (int) (S), (F))
|
||||
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
|
||||
# endif
|
||||
|
||||
Reference in New Issue
Block a user