Support Class Library
A set of tools providing classes and utility
windows.h
Go to the documentation of this file.
1 #pragma once
3 
4 #ifdef SCL_PLATFORM_WINDOWS
5  #define SCL_UPLATFORM_WIN32 true
6 #else
7  #define SCL_UPLATFORM_WIN32 false
8 #endif
9 
10 #define SCL_UPLATFORM_WIN64 SCL_PLATFORM_WIN64
11 #define SCL_UPLATFORM_WINDOWS SCL_UPLATFORM_WIN32
12 
13 namespace scl{
14  namespace detect{
15  namespace platform{
16  namespace unified{
17  constexpr bool win32 = SCL_UPLATFORM_WIN32;
18  constexpr bool win64 = SCL_UPLATFORM_WIN64;
19  constexpr bool windows = SCL_UPLATFORM_WINDOWS;
20  }
21  }
22  }
23 }
#define SCL_UPLATFORM_WIN64
Definition: windows.h:10
#define SCL_UPLATFORM_WINDOWS
Definition: windows.h:11
Global namespace of the SCL.
Definition: alias.hpp:3
#define SCL_UPLATFORM_WIN32
Definition: windows.h:5
constexpr bool windows
Definition: windows.h:19