TinyC now crashes on Travis when compiling sysrandom
This commit is contained in:
parent
52fdd7ab39
commit
44dccfe6d4
@ -23,7 +23,7 @@
|
||||
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
|
||||
# else
|
||||
# include <sys/syscall.h>
|
||||
# if defined(SYS_getrandom) && defined(__NR_getrandom)
|
||||
# if defined(SYS_getrandom) && defined(__NR_getrandom) && !defined(__TINYC__)
|
||||
# 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)
|
||||
# if defined(SYS_getrandom) && defined(__NR_getrandom) && !defined(__TINYC__)
|
||||
# define getrandom(B, S, F) syscall(SYS_getrandom, (B), (int) (S), (F))
|
||||
# define HAVE_LINUX_COMPATIBLE_GETRANDOM
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user