mirror of
https://github.com/AyuGram/AyuGramDesktop.git
synced 2025-06-05 06:33:57 +02:00
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:
parent
8c3c8f888d
commit
1ca1f0fa7d
2 changed files with 20 additions and 8 deletions
|
@ -6,11 +6,17 @@
|
||||||
//
|
//
|
||||||
// Generated from the TEXTINCLUDE 2 resource.
|
// Generated from the TEXTINCLUDE 2 resource.
|
||||||
//
|
//
|
||||||
#if defined(__has_include) && __has_include(<winres.h>)
|
#if defined(__MINGW64__) || defined(__MINGW32__)
|
||||||
#include <winres.h>
|
// MinGW-w64, MinGW
|
||||||
|
#if defined(__has_include) && __has_include(<winres.h>)
|
||||||
|
#include <winres.h>
|
||||||
|
#else
|
||||||
|
#include <afxres.h>
|
||||||
|
#include <winresrc.h>
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <afxres.h>
|
// MSVC, Windows SDK
|
||||||
#include <winresrc.h>
|
#include <winres.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
|
@ -6,11 +6,17 @@
|
||||||
//
|
//
|
||||||
// Generated from the TEXTINCLUDE 2 resource.
|
// Generated from the TEXTINCLUDE 2 resource.
|
||||||
//
|
//
|
||||||
#if defined(__has_include) && __has_include(<winres.h>)
|
#if defined(__MINGW64__) || defined(__MINGW32__)
|
||||||
#include <winres.h>
|
// MinGW-w64, MinGW
|
||||||
|
#if defined(__has_include) && __has_include(<winres.h>)
|
||||||
|
#include <winres.h>
|
||||||
|
#else
|
||||||
|
#include <afxres.h>
|
||||||
|
#include <winresrc.h>
|
||||||
|
#endif
|
||||||
#else
|
#else
|
||||||
#include <afxres.h>
|
// MSVC, Windows SDK
|
||||||
#include <winresrc.h>
|
#include <winres.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
Loading…
Add table
Reference in a new issue