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