浏览代码

Fix compilers for clipboard

Cross compile c and msvc c++ support
pull/5232/head
Saksham Goyal 3 天前
committed by GitHub
父节点
当前提交
c91daba3b7
找不到此签名对应的密钥 GPG 密钥 ID: B5690EEEBB952194
共有 1 个文件被更改,包括 4 次插入2 次删除
  1. +4
    -2
      src/external/win32_clipboard.h

+ 4
- 2
src/external/win32_clipboard.h 查看文件

@ -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)

正在加载...
取消
保存