source: opengl-game/Compiler.h@ d02c25f

feature/imgui-sdl points-test
Last change on this file since d02c25f was d9b6a1c, checked in by Dmitry Portnoy <dmitry.portnoy@…>, 6 years ago

Print a stack trace in the event of a crash. Currently, the code for this on Windows outputs the stack trace to stderr, not to a log file.

  • Property mode set to 100644
File size: 287 bytes
Line 
1#ifndef COMPILER_H
2#define COMPILER_H
3
4#if defined _WIN64
5 #define WINDOWS
6#elif defined _WIN32
7 #define WINDOWS
8#elif defined __linux
9 #define LINUX
10#elif defined __unix
11 #define LINUX
12#elif defined __posix
13 #define LINUX
14#elif defined __APPLE__
15 #define MAC
16#endif
17
18#endif
Note: See TracBrowser for help on using the repository browser.