Optibits
Loading...
Searching...
No Matches
Platform.hpp
1#pragma once
2
3#if defined(WIN32) || defined(_WIN64)
4# define OPTIBITS_WIN
5#else
6# define OPTIBITS_UNIX
7# if defined(__linux) || defined(__FreeBSD__)
8# define OPTIBITS_X
9# else
10# define OPTIBITS_MAC
11# include <TargetConditionals.h>
12# if TARGET_OS_IPHONE || TARGET_IPHONE_SIMULATOR
13# define OPTIBITS_IPHONE
14# define OPTIBITS_OPENGLES
15# endif
16# endif
17#endif
18
19
20#ifndef OPTIBITS_DEPRECATED
22# define OPTIBITS_DEPRECATED [[deprecated]]
23#endif