mirror of
https://github.com/4jcraft/4jcraft.git
synced 2026-08-20 09:57:10 +00:00
wlinux: move defines to the top
This commit is contained in:
parent
32f065e21d
commit
769d9ceb0d
|
|
@ -6,6 +6,12 @@
|
||||||
#include <cstdint>
|
#include <cstdint>
|
||||||
#include <cstring>
|
#include <cstring>
|
||||||
|
|
||||||
|
#define TRUE true
|
||||||
|
#define FALSE false
|
||||||
|
#define RtlZeroMemory(Destination,Length) memset((Destination),0,(Length))
|
||||||
|
#define ZeroMemory RtlZeroMemory
|
||||||
|
#define WINAPI
|
||||||
|
|
||||||
typedef unsigned int DWORD;
|
typedef unsigned int DWORD;
|
||||||
typedef const char *LPCSTR;
|
typedef const char *LPCSTR;
|
||||||
typedef bool BOOL;
|
typedef bool BOOL;
|
||||||
|
|
@ -17,8 +23,6 @@ typedef const wchar_t* LPCWSTR;
|
||||||
typedef unsigned long long ULONGLONG;
|
typedef unsigned long long ULONGLONG;
|
||||||
typedef int HRESULT;
|
typedef int HRESULT;
|
||||||
typedef unsigned int UINT;
|
typedef unsigned int UINT;
|
||||||
#define TRUE true
|
|
||||||
#define WINAPI
|
|
||||||
typedef void* HANDLE;
|
typedef void* HANDLE;
|
||||||
typedef int INT;
|
typedef int INT;
|
||||||
typedef char CHAR;
|
typedef char CHAR;
|
||||||
|
|
@ -26,11 +30,8 @@ typedef void* PVOID;
|
||||||
typedef unsigned long* ULONG_PTR;
|
typedef unsigned long* ULONG_PTR;
|
||||||
typedef long LONG;
|
typedef long LONG;
|
||||||
typedef void VOID;
|
typedef void VOID;
|
||||||
#define RtlZeroMemory(Destination,Length) memset((Destination),0,(Length))
|
|
||||||
#define ZeroMemory RtlZeroMemory
|
|
||||||
typedef ULONGLONG PlayerUID;
|
typedef ULONGLONG PlayerUID;
|
||||||
typedef DWORD WORD;
|
typedef DWORD WORD;
|
||||||
#define FALSE false
|
|
||||||
typedef struct {
|
typedef struct {
|
||||||
DWORD LowPart;
|
DWORD LowPart;
|
||||||
long long QuadPart;
|
long long QuadPart;
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue