Browse Source

Fix compilers for clipboard

Cross compile c and msvc c++ support
pull/5232/head
Saksham Goyal 3 days ago
committed by GitHub
parent
commit
c91daba3b7
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/external/win32_clipboard.h

+ 4
- 2
src/external/win32_clipboard.h View File

@ -92,11 +92,13 @@ unsigned char* Win32GetClipboardImageData(int* width, int* height, unsigned long
typedef int WINBOOL;
// typedef HANDLE HGLOBAL;
#if !defined(HWND) && !defined(_MSC_VER)
#define HWND void*
#else
typedef struct HWND__ *HWND;
#endif
#if !defined(_WINUSER_) || !defined(WINUSER_ALREADY_INCLUDED)

Loading…
Cancel
Save