From 7032c4231d8773582cb887d800e643d0bf25707a Mon Sep 17 00:00:00 2001 From: Petr Zemek Date: Wed, 24 Jan 2018 08:09:57 +0100 Subject: [PATCH] utils: Rename OS_LINUX to OS_UNIX. At the moment, we (unofficially) support also macOS, so differentiate only between Windows and UNIX by defining the following two symbolic constants: * OS_WINDOWS * OS_UNIX --- include/retdec/utils/os.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/retdec/utils/os.h b/include/retdec/utils/os.h index 78a5b4eb..9c5f73cb 100644 --- a/include/retdec/utils/os.h +++ b/include/retdec/utils/os.h @@ -8,11 +8,11 @@ #define RETDEC_UTILS_OS_H // Obtain the used operating system. Currently, we only distinguish between -// Windows and Linux. +// Windows and UNIX. #if defined(__WIN) || defined(_WIN32) || defined(__WIN32__) || defined(__CYGWIN__) #define OS_WINDOWS #else - #define OS_LINUX + #define OS_UNIX #endif #endif