From a9fbbc1d2c0a90d5c5b3a0363c650299f876a3d6 Mon Sep 17 00:00:00 2001 From: SASANO Takayoshi Date: Sun, 24 Oct 2021 13:17:47 +0900 Subject: [PATCH] : linux only not only Apple but also other OSes except Linux uses . for details, see https://www.gnu.org/software/gnulib/manual/html_node/pty_002eh.html --- PseudoTTYController.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/PseudoTTYController.cpp b/PseudoTTYController.cpp index 1205064..97062eb 100644 --- a/PseudoTTYController.cpp +++ b/PseudoTTYController.cpp @@ -32,10 +32,10 @@ #include #include #include -#if defined(__APPLE__) - #include -#else +#if defined(__linux__) #include +#else + #include #endif