5252#define CALLBACK
5353#define TEXT (x ) strdup(x)
5454
55- inline char * _strlwr_l (char * str, locale_t loc)
55+ inline char * _strlwr_l (char * str, locale_t loc)
5656{
5757// TODO
5858}
5959
60- inline char * _strupr_l (char * str, locale_t loc)
60+ inline char * _strupr_l (char * str, locale_t loc)
6161{
6262// TODO
6363}
6464
6565#define VOID void
66- #define HKL void *
66+ #define HKL void *
6767#define ActivateKeyboardLayout (x, y ) {}
6868#define ScreenToClient (hwnd, p ) {}
6969
7070#define __except (X ) catch (X)
7171
7272/*
73- static inline long InterlockedExchange(volatile long * val, long new_val)
73+ static inline long InterlockedExchange(volatile long* val, long new_val)
7474{
7575 long old_val;
7676 do {
@@ -91,11 +91,11 @@ inline void Sleep(int ms)
9191}
9292
9393inline void _splitpath (
94- const char * path, // Path Input
95- char * drive, // Drive : Output
96- char * dir, // Directory : Output
97- char * fname, // Filename : Output
98- char * ext // Extension : Output
94+ const char * path, // Path Input
95+ char * drive, // Drive : Output
96+ char * dir, // Directory : Output
97+ char * fname, // Filename : Output
98+ char * ext // Extension : Output
9999){}
100100
101101inline unsigned long GetLastError ()
@@ -130,8 +130,8 @@ typedef unsigned short WORD;
130130typedef unsigned short * LPWORD;
131131typedef unsigned long DWORD;
132132typedef unsigned long * LPDWORD;
133- typedef const void * LPCVOID;
134- typedef long long int * PLARGE_INTEGER;
133+ typedef const void * LPCVOID;
134+ typedef long long int * PLARGE_INTEGER;
135135
136136typedef wchar_t WCHAR;
137137
@@ -183,17 +183,17 @@ typedef long LONG_PTR;
183183#endif // XR_X64
184184
185185typedef int HANDLE;
186- typedef void * HMODULE;
187- typedef void * LPVOID;
186+ typedef void * HMODULE;
187+ typedef void * LPVOID;
188188typedef UINT_PTR WPARAM;
189189typedef LONG_PTR LPARAM;
190190typedef long HRESULT;
191191typedef long LRESULT;
192192typedef long _W64;
193- // typedef void * HWND;
194- typedef SDL_Window * HWND;
195- typedef void * HDC;
196- // typedef void * HGLRC;
193+ // typedef void* HWND;
194+ typedef SDL_Window* HWND;
195+ typedef void * HDC;
196+ // typedef void* HGLRC;
197197typedef SDL_GLContext HGLRC;
198198typedef float FLOAT;
199199typedef unsigned char UINT8;
0 commit comments