Support Class Library
A set of tools providing classes and utility
include
scl
detect
platform
unix.h
Go to the documentation of this file.
1
#pragma once
2
#include <
scl/detect/platform/linux.h
>
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
}
SCL_PLATFORM_UNIX
#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
scl::detect::platform::unix
constexpr bool unix
Checks whether or not the platform is a Unix platform (that is not a Linux platform) ...
Definition:
unix.h:21
scl
Global namespace of the SCL.
Definition:
alias.hpp:3
linux.h
Generated by
1.8.13