Commit 9d3b59f0 authored by David Reid's avatar David Reid

Fix compilation errors with the WASAPI backend for Cosmopolitan.

parent 18b4ac24
......@@ -29,6 +29,7 @@ typedef int64_t LONGLONG;
typedef uint32_t ULONG; /* `long` is always 32-bit on Windows. */
typedef uint64_t ULONGLONG;
typedef char16_t WCHAR;
typedef unsigned int UINT;
#define TRUE 1
#define FALSE 0
......@@ -36,6 +37,10 @@ typedef char16_t WCHAR;
#define WAIT_OBJECT_0 0
#define INFINITE 0xFFFFFFFF
#define STGM_READ 0
#define CLSCTX_ALL 23
#define CP_UTF8 65001
#define FAILED(hr) ((hr) < 0)
#define SUCCEEDED(hr) ((hr) >= 0)
......
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment