Support Class Library
A set of tools providing classes and utility
android.h
Go to the documentation of this file.
1 #pragma once
2 
7 #if defined(__ANDROID__) && __ANDROID__
8  #define SCL_PLATFORM_ANDROID true
9 #else
10  #define SCL_PLATFORM_ANDROID false
11 #endif
12 
13 namespace scl{
14  namespace detect{
15  namespace platform{
16  constexpr bool android = SCL_PLATFORM_ANDROID;
17  };
18  }
19 }
constexpr bool android
Definition: android.h:16
Global namespace of the SCL.
Definition: alias.hpp:3
#define SCL_PLATFORM_ANDROID
Macro that detects whether or not the platform is Android.
Definition: android.h:10