OGLplus
(0.59.0)
a C++ wrapper for rendering APIs
eagine
config
platform.hpp
Go to the documentation of this file.
1
#ifndef EAGINE_CONFIG_PLATFORM_HPP
9
#define EAGINE_CONFIG_PLATFORM_HPP
10
11
#ifndef EAGINE_POSIX
12
#if defined(__unix__) || (defined(__APPLE__) && defined(__MACH__))
13
#define EAGINE_POSIX 1
14
#else
15
#define EAGINE_POSIX 0
16
#endif
17
#endif
18
19
#ifndef EAGINE_LINUX
20
#if defined(__linux__)
21
#define EAGINE_LINUX 1
22
#else
23
#define EAGINE_LINUX 0
24
#endif
25
#endif
26
27
#ifndef EAGINE_APPLE
28
#if defined(__APPLE__) && __APPLE__
29
#define EAGINE_APPLE 1
30
#else
31
#define EAGINE_APPLE 0
32
#endif
33
#endif
34
35
#ifndef EAGINE_WINDOWS
36
#if defined(WIN32) || defined(_WIN32) || defined(WIN64) || defined(_WIN64)
37
#define EAGINE_WINDOWS 1
38
#else
39
#define EAGINE_WINDOWS 0
40
#endif
41
#endif
42
43
#endif // EAGINE_CONFIG_PLATFORM_HPP
Copyright © 2015-2021
Matúš Chochlík
.
<
chochlik -at -gmail.com
>
Documentation generated on Tue Apr 13 2021 by
Doxygen
(version 1.8.17).