2022-12-04 11:03:45 +00:00
|
|
|
// SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
|
|
|
|
// SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
|
|
|
|
|
2020-01-10 03:31:12 +00:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#ifndef WIN32_LEAN_AND_MEAN
|
|
|
|
#define WIN32_LEAN_AND_MEAN 1
|
|
|
|
#endif
|
|
|
|
#ifndef NOMINMAX
|
|
|
|
#define NOMINMAX 1
|
|
|
|
#endif
|
|
|
|
|
2023-08-31 09:49:32 +00:00
|
|
|
// require Win10+
|
2020-01-10 03:31:12 +00:00
|
|
|
#ifdef _WIN32_WINNT
|
|
|
|
#undef _WIN32_WINNT
|
|
|
|
#endif
|
2023-08-31 09:49:32 +00:00
|
|
|
#define _WIN32_WINNT _WIN32_WINNT_WIN10
|
2020-01-10 03:31:12 +00:00
|
|
|
|
|
|
|
#include <windows.h>
|
|
|
|
|
|
|
|
#if defined(CreateDirectory)
|
|
|
|
#undef CreateDirectory
|
|
|
|
#endif
|
|
|
|
#if defined(CopyFile)
|
|
|
|
#undef CopyFile
|
|
|
|
#endif
|
|
|
|
#if defined(DeleteFile)
|
|
|
|
#undef DeleteFile
|
|
|
|
#endif
|
2023-08-30 07:32:36 +00:00
|
|
|
#if defined(GetMessage)
|
|
|
|
#undef GetMessage
|
|
|
|
#endif
|