mirror of
https://github.com/nothings/stb-imv
synced 2024-11-21 21:11:51 +03:00
fix VS 2003 compilation
This commit is contained in:
parent
dc29e67c21
commit
2003c0d64a
6
imv.c
6
imv.c
@ -3250,11 +3250,9 @@ typedef enum
|
|||||||
DebugEventLevelWarning
|
DebugEventLevelWarning
|
||||||
} GpDebugEventLevel;
|
} GpDebugEventLevel;
|
||||||
|
|
||||||
//typedef void (*MyFunc)(int fif, const char *msg);
|
|
||||||
|
|
||||||
typedef VOID (WINAPI *GpDebugEventProc)(GpDebugEventLevel level, CHAR *message);
|
typedef VOID (WINAPI *GpDebugEventProc)(GpDebugEventLevel level, CHAR *message);
|
||||||
|
|
||||||
typedef ULONG * ULONG_PTR;
|
typedef ULONG ULONG_PTR;
|
||||||
typedef GpStatus (WINAPI *GpNotificationHookProc)(ULONG_PTR *token);
|
typedef GpStatus (WINAPI *GpNotificationHookProc)(ULONG_PTR *token);
|
||||||
typedef VOID (WINAPI *GpNotificationUnhookProc)(ULONG_PTR token);
|
typedef VOID (WINAPI *GpNotificationUnhookProc)(ULONG_PTR token);
|
||||||
|
|
||||||
@ -3273,7 +3271,7 @@ typedef struct {
|
|||||||
static HINSTANCE GdiplusDLL;
|
static HINSTANCE GdiplusDLL;
|
||||||
static GdiplusStartupOutput gpStartupOutput;
|
static GdiplusStartupOutput gpStartupOutput;
|
||||||
|
|
||||||
typedef __declspec(dllimport) GpStatus (WINAPI *GdiplusStartupProc)(ULONG* token, const GdiplusStartupInput* input, GdiplusStartupOutput* output);
|
typedef __declspec(dllimport) GpStatus (WINAPI *GdiplusStartupProc)(ULONG_PTR *token, const GdiplusStartupInput* input, GdiplusStartupOutput* output);
|
||||||
static GdiplusStartupProc GdiplusStartup;
|
static GdiplusStartupProc GdiplusStartup;
|
||||||
|
|
||||||
// from GdiplusHeaders.h
|
// from GdiplusHeaders.h
|
||||||
|
Loading…
Reference in New Issue
Block a user