Always rely on __has_include(<winres.h>)

This commit is contained in:
Ilya Fedin 2024-10-31 02:42:28 +04:00 committed by John Preston
parent ebd0c3696a
commit e0e4a7bec6
2 changed files with 8 additions and 20 deletions

View file

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

View file

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