cave-story-solaris/src/WindowsWrapper.h
Clownacy 61aec1cb15 Use native Windows types/macros when available
This prevents conflicts when a translation unit includes
`WindowsWrapper.h`, and middleware that includes `windows.h`.
2020-03-17 13:21:37 +00:00

27 lines
313 B
C

#pragma once
#ifdef _WIN32
#include <windef.h>
#include <wingdi.h>
#else
#include <stdio.h>
#define RGB(r,g,b) ((r) | ((g) << 8) | ((b) << 16))
typedef bool BOOL;
#define FALSE false
#define TRUE true
struct RECT
{
long left;
long top;
long right;
long bottom;
};
#define MAX_PATH FILENAME_MAX
#endif