From 8f847da3fd105639dca46ff383ba8e91456112e9 Mon Sep 17 00:00:00 2001 From: almeidx Date: Sun, 15 Jan 2023 03:08:53 +0000 Subject: [PATCH] tools: fix macro name in update-undici --- tools/update-undici.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/update-undici.sh b/tools/update-undici.sh index d3642088c5a14e..ead449bcd1185f 100755 --- a/tools/update-undici.sh +++ b/tools/update-undici.sh @@ -32,10 +32,10 @@ rm -f deps/undici/undici.js FILE_PATH="$ROOT/src/undici_version.h" echo "// This is an auto generated file, please do not edit." > "$FILE_PATH" echo "// Refer to tools/update-undici.sh" >> "$FILE_PATH" - echo "#ifndef SRC_ACORN_VERSION_H_" >> "$FILE_PATH" - echo "#define SRC_ACORN_VERSION_H_" >> "$FILE_PATH" + echo "#ifndef SRC_UNDICI_VERSION_H_" >> "$FILE_PATH" + echo "#define SRC_UNDICI_VERSION_H_" >> "$FILE_PATH" echo "#define UNDICI_VERSION \"$UNDICI_VERSION\"" >> "$FILE_PATH" - echo "#endif // SRC_ACORN_VERSION_H_" >> "$FILE_PATH" + echo "#endif // SRC_UNDICI_VERSION_H_" >> "$FILE_PATH" ) mv undici-tmp/node_modules/undici deps/undici/src