Skip to content

Commit 4a96d18

Browse files
committed
fix bloody ci (2.8.0)
1 parent 6f74f2d commit 4a96d18

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/acts/tools/ff/fastfile_handlers.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
#include <CascLib.h>
77
#include <CascCommon.h>
88
#pragma warning(pop)
9+
#include <core/actsinfo.hpp>
910

1011

1112
namespace fastfile {
@@ -781,6 +782,9 @@ namespace fastfile {
781782
#ifdef CI_BUILD
782783
ctx.zone.preProcOpt.defines.insert("CI");
783784
#endif
785+
if (core::actsinfo::DEV_VERSION_ID == core::actsinfo::VERSION_ID) {
786+
ctx.zone.preProcOpt.defines.insert("ACTS_DEV");
787+
}
784788

785789
ctx.ReadZoneFile();
786790

src/acts/tools/ff/fastfile_zone.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55
namespace fastfile::zone {
66
class Zone {
77
core::memory_allocator::MemoryAllocator alloc{};
8-
acts::compiler::preprocessor::PreProcessorOption preProcOpt{};
98
public:
9+
acts::compiler::preprocessor::PreProcessorOption preProcOpt{};
1010
std::unordered_map<std::string, std::vector<const char*>> assets;
1111
std::unordered_map<std::string, const char*> cfgs;
1212

0 commit comments

Comments
 (0)