Fix compilers for clipboard
Cross compile c and msvc c++ support
This commit is contained in:
parent
87097abf54
commit
c91daba3b7
6
src/external/win32_clipboard.h
vendored
6
src/external/win32_clipboard.h
vendored
|
|
@ -92,11 +92,13 @@ unsigned char* Win32GetClipboardImageData(int* width, int* height, unsigned long
|
||||||
|
|
||||||
typedef int WINBOOL;
|
typedef int WINBOOL;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// typedef HANDLE HGLOBAL;
|
// typedef HANDLE HGLOBAL;
|
||||||
|
|
||||||
|
#if !defined(HWND) && !defined(_MSC_VER)
|
||||||
|
#define HWND void*
|
||||||
|
#else
|
||||||
typedef struct HWND__ *HWND;
|
typedef struct HWND__ *HWND;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
#if !defined(_WINUSER_) || !defined(WINUSER_ALREADY_INCLUDED)
|
#if !defined(_WINUSER_) || !defined(WINUSER_ALREADY_INCLUDED)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user