Stringify the git info passed

avoid escaping the string in the Makefile.

Alternative to https://github.com/official-stockfish/Stockfish/pull/4476

closes https://github.com/official-stockfish/Stockfish/pull/4481

No functional change.
This commit is contained in:
Joost VandeVondele
2023-04-01 11:56:49 +02:00
parent c3c46feebb
commit 66bf45b99e
4 changed files with 7 additions and 8 deletions

View File

@@ -28,6 +28,9 @@
#include "types.h"
#define stringify2(x) #x
#define stringify(x) stringify2(x)
namespace Stockfish {
std::string engine_info(bool to_uci = false);