diff --git a/learn/test.cpp b/learn/test.cpp index f2e1e6a3..e877c333 100644 --- a/learn/test.cpp +++ b/learn/test.cpp @@ -49,7 +49,7 @@ Log &Log::operator<<(unsigned int n) { } else if (std::holds_alternative(this->dst)) { #if defined(_WIN32) constexpr auto null = "nul"; -#elif defined(__linux__) || defined(__unix__) +#elif defined(__linux__) || defined(__unix__) || defined(__MACOSX__) || defined(__APPLE__) constexpr auto null = "/dev/null"; #else #error "Unsupported platform"