Mercurial > minori
comparison dep/animia/include/os.h @ 97:18979b066284
animia/unix: fix a bunch of stuff that breaks OS X things
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 02 Nov 2023 13:14:15 -0400 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
96:bd68e4393e6f | 97:18979b066284 |
---|---|
1 /* can this be moved to cmake? */ | |
2 #ifndef __animia__os_h | |
3 #define __animia__os_h | |
4 | |
5 #ifdef __linux__ | |
6 # define ON_LINUX | |
7 #elif (defined(unix) || defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__))) | |
8 # if (defined(__APPLE__) && defined(__MACH__)) | |
9 # define ON_OSX | |
10 # endif | |
11 # define ON_UNIX | |
12 #elif defined(_WIN32) | |
13 # define ON_WINDOWS | |
14 #endif | |
15 | |
16 #endif // __animia__os_h |