Plasma Engine  2.0
Loading...
Searching...
No Matches
Platform_Linux.h
1#pragma once
2
3#if PL_DISABLED(PL_PLATFORM_LINUX) && PL_DISABLED(PL_PLATFORM_ANDROID)
4# error "This header should only be included on Linux"
5#endif
6
7#include <cstdio>
8#include <malloc.h>
9#include <pthread.h>
10#include <stdarg.h>
11#include <sys/time.h>
12#include <unistd.h>
13
14// unset common macros
15#ifdef min
16# undef min
17#endif
18#ifdef max
19# undef max
20#endif
21
22#undef PL_PLATFORM_LITTLE_ENDIAN
23#define PL_PLATFORM_LITTLE_ENDIAN PL_ON