Support Class Library
A set of tools providing classes and utility
unix.h
Go to the documentation of this file.
1 #pragma once
3 
8 #if defined(__unix__)
9  #define SCL_PLATFORM_UNIX (!SCL_PLATFORM_LINUX)
10 #else
11  #define SCL_PLATFORM_UNIX false
12 #endif
13 
14 namespace scl{
15  namespace detect{
16  namespace platform{
21  constexpr bool unix = SCL_PLATFORM_UNIX;
22  }
23  }
24 }
#define SCL_PLATFORM_UNIX
Macro that detects whether or not the platform is a Unix platform (that is not a Linux platform) ...
Definition: unix.h:11
constexpr bool unix
Checks whether or not the platform is a Unix platform (that is not a Linux platform) ...
Definition: unix.h:21
Global namespace of the SCL.
Definition: alias.hpp:3