add wayland support with melonds/duckstation method

This commit is contained in:
Miguel 2024-04-11 13:11:42 +02:00 committed by Reg Tiangha
parent b5126f979c
commit 292009c1c0
No known key found for this signature in database
GPG key ID: 00D437798B1C2970
34 changed files with 10907 additions and 0 deletions

View file

@ -0,0 +1,26 @@
#pragma once
#ifndef WIN32_LEAN_AND_MEAN
#define WIN32_LEAN_AND_MEAN 1
#endif
#ifndef NOMINMAX
#define NOMINMAX 1
#endif
// require vista+
#ifdef _WIN32_WINNT
#undef _WIN32_WINNT
#endif
#define _WIN32_WINNT _WIN32_WINNT_VISTA
#include <windows.h>
#if defined(CreateDirectory)
#undef CreateDirectory
#endif
#if defined(CopyFile)
#undef CopyFile
#endif
#if defined(DeleteFile)
#undef DeleteFile
#endif