From 94449aa324c57eb2af0c1c3f4cb61fe7f07d2c00 Mon Sep 17 00:00:00 2001 From: flightlessmango Date: Fri, 5 Apr 2024 01:42:49 +0200 Subject: [PATCH] fix ifdef typo --- src/shell.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/shell.h b/src/shell.h index b14ffe30..7e625882 100644 --- a/src/shell.h +++ b/src/shell.h @@ -2,7 +2,7 @@ #include #include #include -#ifdef __LINUX__ +#ifdef __linux__ #include #endif #include @@ -14,7 +14,7 @@ private: int from_shell[2]; pid_t shell_pid; -#ifdef __LINUX__ +#ifdef __linux__ void setNonBlocking(int fd) { int flags = fcntl(fd, F_GETFL, 0); fcntl(fd, F_SETFL, flags | O_NONBLOCK);