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
This commit is contained in:
Petr Zemek 2018-01-24 08:09:57 +01:00
parent 0067f9f70d
commit 7032c4231d

View File

@ -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