mirror of
https://github.com/OpenDriver2/REDRIVER2.git
synced 2024-11-23 02:42:38 +01:00
019c38c5ce
- [Psy-X] added log file creation
32 lines
478 B
C
32 lines
478 B
C
#ifndef PSYX_COMPAT_H
|
|
#define PSYX_COMPAT_H
|
|
|
|
// Psy-Cross compatibility header
|
|
|
|
// Necessary includes
|
|
#ifndef PSX
|
|
#include "PSYX_PUBLIC.H"
|
|
#include "PSYX_GLOBALS.H"
|
|
#endif
|
|
|
|
// Necessary types
|
|
// It's size should match P_LEN*4
|
|
#ifdef PSX
|
|
typedef int intptr_t;
|
|
typedef u_long OTTYPE;
|
|
|
|
typedef short VERTTYPE;
|
|
|
|
#define RECT16 RECT
|
|
|
|
#else
|
|
|
|
#if defined(_M_X64) || defined(__amd64__)
|
|
typedef OT_TAG OTTYPE;
|
|
#else
|
|
typedef unsigned long long OTTYPE;
|
|
#endif
|
|
|
|
#endif
|
|
|
|
#endif PSYX_COMPAT_H |