mirror of
https://github.com/FEX-Emu/FEX.git
synced 2026-10-06 11:00:19 +02:00
Fixes #5230 Basically just stores it as an array of `uint8_t`, and automatically pads it out to 24 bytes. Hopefully FEX never reaches SHA1 collisions so this should (TM) never collide. Note: I have no idea how fmt will handle that format string with an array of uint8_t. Signed-off-by: crueter <crueter@eden-emu.dev>
9 lines
207 B
C
9 lines
207 B
C
// SPDX-License-Identifier: MIT
|
|
#pragma once
|
|
|
|
#include <array>
|
|
#include <cstdint>
|
|
|
|
static constexpr std::array<uint8_t, 20> GIT_HASH = {@GIT_HASH_ARRAY@};
|
|
#define GIT_DESCRIBE_STRING "@GIT_DESCRIBE_STRING@"
|