serenity/Ports/c-ray/patches/disable-checkbuf.patch
2021-03-13 22:44:16 +01:00

11 lines
363 B
Diff

--- c-ray-master/src/utils/fileio.c 2021-03-13 00:13:46.067407670 +0100
+++ c-ray-master/src/utils/fileio.c 2021-01-11 01:01:57.000000000 +0100
@@ -83,7 +83,7 @@
//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;