Revert "TinyC now crashes on Travis when compiling sysrandom"

This reverts commit 44dccfe6d4.
This commit is contained in:
Frank Denis
2018-09-29 22:52:56 +02:00
parent 44dccfe6d4
commit 9d5fcef52e
2 changed files with 2 additions and 2 deletions
@@ -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