duckstation

duckstation, but archived from the revision just before upstream changed it to a proprietary software project, this version is the libre one
git clone https://git.neptards.moe/u3shit/duckstation.git
Log | Files | Refs | README | LICENSE

windows_headers.h (586B)


      1 // SPDX-FileCopyrightText: 2019-2022 Connor McLaughlin <stenzek@gmail.com>
      2 // SPDX-License-Identifier: (GPL-3.0 OR CC-BY-NC-ND-4.0)
      3 
      4 #pragma once
      5 
      6 #ifndef WIN32_LEAN_AND_MEAN
      7 #define WIN32_LEAN_AND_MEAN 1
      8 #endif
      9 #ifndef NOMINMAX
     10 #define NOMINMAX 1
     11 #endif
     12 
     13 // require Win10+
     14 #ifdef _WIN32_WINNT
     15 #undef _WIN32_WINNT
     16 #endif
     17 #define _WIN32_WINNT _WIN32_WINNT_WIN10
     18 
     19 #include <windows.h>
     20 
     21 #if defined(CreateDirectory)
     22 #undef CreateDirectory
     23 #endif
     24 #if defined(CopyFile)
     25 #undef CopyFile
     26 #endif
     27 #if defined(DeleteFile)
     28 #undef DeleteFile
     29 #endif
     30 #if defined(GetMessage)
     31 #undef GetMessage
     32 #endif