From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Sat, 13 Mar 2021 22:11:07 +0100 Subject: [PATCH] Disable checkBuf() on serenity Co-Authored-By: Valtteri Koskivuori --- src/utils/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/utils/fileio.c b/src/utils/fileio.c index 6365973..2edfed8 100644 --- a/src/utils/fileio.c +++ b/src/utils/fileio.c @@ -147,7 +147,7 @@ bool isValidFile(char *path) { //Wait for 2 secs and abort if nothing is coming in from stdin void checkBuf() { -#ifndef WINDOWS +#if !defined(WINDOWS) && !defined(__serenity__) fd_set set; struct timeval timeout; int rv;