diff --git a/c5.h b/c5.h index 72df3eb..9bf0364 100644 --- a/c5.h +++ b/c5.h @@ -5,10 +5,6 @@ #define IS_WINDOWS 1 #endif -#ifdef __linux__ -#define IS_LINUX 1 -#endif - #include #include #include diff --git a/system.c b/system.c index a5f0ce7..2f328fb 100644 --- a/system.c +++ b/system.c @@ -9,7 +9,8 @@ void ttyMode(int isRaw) {} #endif -#ifdef IS_LINUX // Support for Linux +// Support for Linux, OpenBSD, FreeBSD +#if defined(__linux__) || defined(__OpenBSD__) || defined(__FreeBSD__) #include #include