Fix custom version file include
This commit is contained in:
parent
2c325c2a7d
commit
2460a3dfbb
@ -21,6 +21,10 @@
|
|||||||
*/
|
*/
|
||||||
#pragma once
|
#pragma once
|
||||||
|
|
||||||
|
#if !defined(__has_include)
|
||||||
|
#define __has_include(...) 1
|
||||||
|
#endif
|
||||||
|
|
||||||
#define ABCE 4
|
#define ABCE 4
|
||||||
#define XYZE 4
|
#define XYZE 4
|
||||||
#define ABC 3
|
#define ABC 3
|
||||||
|
@ -37,12 +37,8 @@
|
|||||||
#include "../../Configuration.h"
|
#include "../../Configuration.h"
|
||||||
|
|
||||||
#ifdef CUSTOM_VERSION_FILE
|
#ifdef CUSTOM_VERSION_FILE
|
||||||
#if defined(__has_include)
|
#if __has_include(STRINGIFY(../../CUSTOM_VERSION_FILE))
|
||||||
#if __has_include(XSTR(../../CUSTOM_VERSION_FILE))
|
#include STRINGIFY(../../CUSTOM_VERSION_FILE)
|
||||||
#include XSTR(../../CUSTOM_VERSION_FILE)
|
|
||||||
#endif
|
|
||||||
#else
|
|
||||||
#include XSTR(../../CUSTOM_VERSION_FILE)
|
|
||||||
#endif
|
#endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user