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