From 775053110c7210966c64d4b8d8405be9fc4dcc22 Mon Sep 17 00:00:00 2001 From: Vladislav Shchapov Date: Wed, 28 Feb 2024 10:31:43 +0500 Subject: [PATCH] Rename cpu_functions.h to arch_functions.h in depcheck.cpp Signed-off-by: Vladislav Shchapov --- win32/depcheck.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/win32/depcheck.cpp b/win32/depcheck.cpp index 81b800da..f83bdd68 100644 --- a/win32/depcheck.cpp +++ b/win32/depcheck.cpp @@ -297,13 +297,13 @@ int main(int argc, char* argv[]) { && makefile.find(".msc") != std::string::npos) found = 1; // if (tmp.find("generic_functions.h") != std::string::npos - && std::find(includes.begin(), includes.end(), "cpu_functions.h") != includes.end()) found = 1; + && std::find(includes.begin(), includes.end(), "arch_functions.h") != includes.end()) found = 1; if (tmp.find("arm_functions.h") != std::string::npos - && std::find(includes.begin(), includes.end(), "cpu_functions.h") != includes.end() + && std::find(includes.begin(), includes.end(), "arch_functions.h") != includes.end() && (makefile.find(".arm") != std::string::npos || makefile.find(".a64") != std::string::npos)) found = 1; if (tmp.find("x86_functions.h") != std::string::npos - && std::find(includes.begin(), includes.end(), "cpu_functions.h") != includes.end() + && std::find(includes.begin(), includes.end(), "arch_functions.h") != includes.end() && makefile.find(".msc") != std::string::npos) found = 1; if (found == 0) { printf("%s: Dependency %s not needed for %s\n", makefile.c_str(), files[i].c_str(), objfile.c_str()); -- 2.47.2