Revert "Always rely on __has_include(<winres.h>)"

This reverts commit e0e4a7bec6.

Didn't work for me, gave errors when building.
This commit is contained in:
John Preston 2024-10-31 23:19:19 +04:00
parent 8c3c8f888d
commit 1ca1f0fa7d
2 changed files with 20 additions and 8 deletions

View file

@ -6,11 +6,17 @@
//
// Generated from the TEXTINCLUDE 2 resource.
//
#if defined(__has_include) && __has_include(<winres.h>)
#include <winres.h>
#if defined(__MINGW64__) || defined(__MINGW32__)
// MinGW-w64, MinGW
#if defined(__has_include) && __has_include(<winres.h>)
#include <winres.h>
#else
#include <afxres.h>
#include <winresrc.h>
#endif
#else
#include <afxres.h>
#include <winresrc.h>
// MSVC, Windows SDK
#include <winres.h>
#endif
/////////////////////////////////////////////////////////////////////////////

View file

@ -6,11 +6,17 @@
//
// Generated from the TEXTINCLUDE 2 resource.
//
#if defined(__has_include) && __has_include(<winres.h>)
#include <winres.h>
#if defined(__MINGW64__) || defined(__MINGW32__)
// MinGW-w64, MinGW
#if defined(__has_include) && __has_include(<winres.h>)
#include <winres.h>
#else
#include <afxres.h>
#include <winresrc.h>
#endif
#else
#include <afxres.h>
#include <winresrc.h>
// MSVC, Windows SDK
#include <winres.h>
#endif
/////////////////////////////////////////////////////////////////////////////