Mercurial > minori
view dep/animia/include/os.h @ 128:859d2a957940
cmake: set CXX_STANDARD to 17
builds: get wget on linux, don't attempt to mount binfmt_misc on win32/64
I'd prefer staying on C++11, but if constexpr is just so damn sexy...
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 09 Nov 2023 02:28:22 -0500 |
parents | 18979b066284 |
children |
line wrap: on
line source
/* can this be moved to cmake? */ #ifndef __animia__os_h #define __animia__os_h #ifdef __linux__ # define ON_LINUX #elif (defined(unix) || defined(__unix__) || defined(__unix) || (defined(__APPLE__) && defined(__MACH__))) # if (defined(__APPLE__) && defined(__MACH__)) # define ON_OSX # endif # define ON_UNIX #elif defined(_WIN32) # define ON_WINDOWS #endif #endif // __animia__os_h