From 2b1163910341b3f72d64f10123de293eddc37115 Mon Sep 17 00:00:00 2001 From: nuquist19 <78948129+nuquist19@users.noreply.github.com> Date: Mon, 15 Apr 2024 14:54:28 +0800 Subject: [PATCH] fix(C): Update common.h (#1278) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 请问这里为了防止重复包含头文件是不是应该改成COMMON_H,因为头文件名字叫做common.h --- codes/c/utils/common.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/codes/c/utils/common.h b/codes/c/utils/common.h index 0b1ca7af8..8b9adeff7 100644 --- a/codes/c/utils/common.h +++ b/codes/c/utils/common.h @@ -4,8 +4,8 @@ * Author: MolDuM (moldum@163.com)、Reanon (793584285@qq.com) */ -#ifndef C_INCLUDE_H -#define C_INCLUDE_H +#ifndef COMMON_H +#define COMMON_H #include #include @@ -33,4 +33,4 @@ extern "C" { } #endif -#endif // C_INCLUDE_H +#endif // COMMON_H