Fixed NEON GPU plugin for PC by using stdint.h types - use
[pcsx_rearmed.git] / plugins / gpu_neon / psx_gpu / common.h
CommitLineData
75e28f62
E
1#ifndef COMMON_H
2#define COMMON_H
3
c82d5b4b 4#include <stdint.h>
5
6#ifdef NEON_PC
7typedef int8_t s8;
8typedef uint8_t u8;
9typedef int16_t s16;
10typedef uint16_t u16;
11typedef int32_t s32;
12typedef uint32_t u32;
13typedef int64_t s64;
14typedef uint64_t u64;
15#else
75e28f62
E
16typedef signed char s8;
17typedef unsigned char u8;
18typedef signed short s16;
19typedef unsigned short u16;
20typedef signed int s32;
21typedef unsigned int u32;
22typedef signed long long int s64;
23typedef unsigned long long int u64;
c82d5b4b 24#endif
75e28f62 25
75e28f62
E
26#include <stdlib.h>
27#include <string.h>
28#include <sys/time.h>
29
30#include "vector_ops.h"
31#include "psx_gpu.h"
32
c1817bd9 33#define unlikely(x) __builtin_expect((x), 0)
34
75e28f62
E
35#endif
36