2020-11-23 09:51:33 +01:00
|
|
|
#ifndef PSYX_COMPAT_H
|
|
|
|
#define PSYX_COMPAT_H
|
|
|
|
|
|
|
|
// Psy-Cross compatibility header
|
|
|
|
|
|
|
|
// Necessary includes
|
|
|
|
#ifndef PSX
|
2020-12-24 17:44:40 +01:00
|
|
|
#include "PSYX_PUBLIC.H"
|
2020-11-23 09:51:33 +01:00
|
|
|
#endif
|
|
|
|
|
|
|
|
// Necessary types
|
2020-12-10 21:47:44 +01:00
|
|
|
// It's size should match P_LEN*4
|
2020-11-23 09:51:33 +01:00
|
|
|
#ifdef PSX
|
2020-12-28 09:51:40 +01:00
|
|
|
typedef int intptr_t;
|
2020-11-23 09:51:33 +01:00
|
|
|
typedef u_long OTTYPE;
|
2020-12-28 09:51:40 +01:00
|
|
|
|
|
|
|
#define RECT16 RECT
|
|
|
|
|
2020-11-23 09:51:33 +01:00
|
|
|
#else
|
|
|
|
typedef unsigned long long OTTYPE;
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif PSYX_COMPAT_H
|