Commit 7b2afc26 authored by Nicolas Carion's avatar Nicolas Carion

better os detection macro

parent efac0d32
#include "abortutil.hpp" #include "abortutil.hpp"
#ifdef __linux__ #if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)))
void Disable_Console_Output() void Disable_Console_Output()
{ {
......
#pragma once #pragma once
#ifdef __linux__ #if !defined(_WIN32) && (defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__)))
#include <cstdio> #include <cstdio>
#include <cstdlib> #include <cstdlib>
#include <sys/types.h> #include <sys/types.h>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment