mirror of
https://github.com/avast/retdec.git
synced 2024-12-19 19:37:12 +00:00
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:
parent
0067f9f70d
commit
7032c4231d
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user