Support Class Library
A set of tools providing classes and utility
Namespaces | Macros | Variables
posix.h File Reference
#include <scl/detect/platform/android.h>
#include <scl/detect/platform/apple.h>
#include <scl/detect/platform/linux.h>
#include <scl/detect/platform/unix.h>
#include <scl/detect/platform/posix.h>

Go to the source code of this file.

Namespaces

 scl
 Global namespace of the SCL.
 
 scl::detect
 Namespace for detecting features, platform, etc...
 
 scl::detect::platform
 Namespace for platform detection.
 
 scl::detect::platform::unified
 Platform detection but in a unified way (e.g.
 

Macros

#define SCL_UPLATFORM_ANDROID   SCL_PLATFORM_ANDROID
 
#define SCL_UPLATFORM_APPLE   SCL_PLATFORM_APPLE
 
#define SCL_UPLATFORM_IOS   (SCL_PLATFORM_IOS || SCL_PLATFORM_IOS_SIMULATOR)
 
#define SCL_UPLATFORM_LINUX   (SCL_PLATFORM_LINUX || SCL_UPLATFORM_APPLE || SCL_UPLATFORM_ANDROID)
 
#define SCL_UPLATFORM_UNIX   (SCL_PLATFORM_UNIX || SCL_UPLATFORM_LINUX)
 
#define SCL_UPLATFORM_POSIX   (SCL_PLATFORM_POSIX || SCL_UPLATFORM_UNIX)
 

Variables

constexpr bool scl::detect::platform::unified::android = false
 
constexpr bool scl::detect::platform::unified::apple = false
 
constexpr bool scl::detect::platform::unified::ios = ( false || false )
 
constexpr bool scl::detect::platform::unified::linux = ( false || false || false )
 
constexpr bool scl::detect::platform::unified::unix = (SCL_PLATFORM_UNIX || ( false || false || false ) )
 
constexpr bool scl::detect::platform::unified::posix = ( false || (SCL_PLATFORM_UNIX || ( false || false || false ) ) )
 

Macro Definition Documentation

◆ SCL_UPLATFORM_ANDROID

#define SCL_UPLATFORM_ANDROID   SCL_PLATFORM_ANDROID

Definition at line 8 of file posix.h.

◆ SCL_UPLATFORM_APPLE

#define SCL_UPLATFORM_APPLE   SCL_PLATFORM_APPLE

Definition at line 9 of file posix.h.

◆ SCL_UPLATFORM_IOS

#define SCL_UPLATFORM_IOS   (SCL_PLATFORM_IOS || SCL_PLATFORM_IOS_SIMULATOR)

Definition at line 10 of file posix.h.

◆ SCL_UPLATFORM_LINUX

#define SCL_UPLATFORM_LINUX   (SCL_PLATFORM_LINUX || SCL_UPLATFORM_APPLE || SCL_UPLATFORM_ANDROID)

Definition at line 11 of file posix.h.

◆ SCL_UPLATFORM_POSIX

#define SCL_UPLATFORM_POSIX   (SCL_PLATFORM_POSIX || SCL_UPLATFORM_UNIX)

Definition at line 13 of file posix.h.

◆ SCL_UPLATFORM_UNIX

#define SCL_UPLATFORM_UNIX   (SCL_PLATFORM_UNIX || SCL_UPLATFORM_LINUX)

Definition at line 12 of file posix.h.