Atlas Game Manager
A game manager for f95 and dlsite written in c++
Loading...
Searching...
No Matches
system.hpp
Go to the documentation of this file.
1//
2// Created by kj16609 on 4/4/23.
3//
4
5#pragma once
6#ifndef ATLAS_SYSTEM_HPP
7#define ATLAS_SYSTEM_HPP
8
9namespace sys
10{
11
12#ifdef __linux__
13 [[maybe_unused]] constexpr bool is_linux { true };
14#else
15 [[maybe_unused]] constexpr bool is_linux { false };
16#endif
17
18#ifdef _WIN32
19 [[maybe_unused]] constexpr bool is_windows { true };
20#else
21 [[maybe_unused]] constexpr bool is_windows { false };
22#endif
23
24} // namespace sys
25
26#endif //ATLAS_SYSTEM_HPP
Definition system.hpp:10
constexpr bool is_windows
Definition system.hpp:21
constexpr bool is_linux
Definition system.hpp:15