From 2e4711ed924679042e435be435b26200885f87b0 Mon Sep 17 00:00:00 2001 From: kailixu Date: Tue, 10 Oct 2023 15:03:34 +0800 Subject: [PATCH] fix: compile problem for community --- include/common/tgrant.h | 2 -- 1 file changed, 2 deletions(-) diff --git a/include/common/tgrant.h b/include/common/tgrant.h index 8ff844abe1..edbc74bf18 100644 --- a/include/common/tgrant.h +++ b/include/common/tgrant.h @@ -51,13 +51,11 @@ typedef enum { } EGrantType; int32_t grantCheck(EGrantType grant); -#ifdef TD_ENTERPRISE #ifndef TD_GRANT_OPTIMIZE int32_t grantAlterActiveCode(const char* old, const char* new, char* out, int8_t type); #else int32_t grantAlterActiveCode(int32_t did, const char* old, const char* new, char* out, int8_t type); #endif -#endif #ifndef GRANTS_CFG #ifdef TD_ENTERPRISE