view dep/animia/include/os.h @ 118:39521c47c7a3

*: another huge megacommit, SORRY The torrents page works a lot better now Added the edit option to the anime list right click menu Vectorized currently playing files Available player and extensions are now loaded at runtime from files in (dotpath)/players.json and (dotpath)/extensions.json These paths are not permanent and will likely be moved to (dotpath)/recognition ... ... ...
author Paper <mrpapersonic@gmail.com>
date Tue, 07 Nov 2023 23:40:54 -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