Support Class Library
A set of tools providing classes and utility
Main Page
Related Pages
+
Namespaces
Namespace List
+
Namespace Members
+
All
_
a
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
v
w
+
Functions
_
a
c
d
e
f
h
i
l
m
n
o
p
r
s
t
u
w
Variables
+
Typedefs
a
c
d
e
f
h
i
l
m
n
r
s
t
u
v
+
Classes
Class List
Class Index
Class Hierarchy
+
Class Members
+
All
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Functions
_
a
b
c
d
e
f
g
h
i
l
m
n
o
p
q
r
s
t
u
v
w
~
+
Variables
_
a
b
c
d
e
f
g
h
i
k
l
m
n
o
p
q
r
s
t
u
v
+
Typedefs
a
c
d
e
f
g
i
k
l
m
n
o
p
q
r
s
t
v
Related Functions
+
Files
File List
+
File Members
+
All
a
c
d
m
o
r
s
t
v
Functions
+
Macros
a
c
d
m
r
s
t
v
Examples
•
All
Classes
Namespaces
Files
Functions
Variables
Typedefs
Friends
Macros
Pages
include
scl
detect
platform
linux.h
Go to the documentation of this file.
1
#pragma once
2
#include <
scl/detect/platform/apple.h
>
3
#include <
scl/detect/platform/android.h
>
4
9
#if defined(__linux__)
10
#define SCL_PLATFORM_LINUX ((!SCL_PLATFORM_APPLE) && (!SCL_PLATFORM_ANDROID))
11
#else
12
#define SCL_PLATFORM_LINUX false
13
#endif
14
15
namespace
scl
{
16
namespace
detect{
17
namespace
platform{
22
constexpr
bool
linux
=
SCL_PLATFORM_LINUX
;
23
}
24
}
25
}
scl
Global namespace of the SCL.
Definition:
alias.hpp:3
android.h
apple.h
scl::detect::platform::linux
constexpr bool linux
Checks whether or not the platform is a Linux platform (that is neither android or apple) ...
Definition:
linux.h:22
SCL_PLATFORM_LINUX
#define SCL_PLATFORM_LINUX
Macro that detects whether or not the platform is a Linux platform (that is neither android or apple)...
Definition:
linux.h:12
Generated by
1.8.13