Signed-off-by: zuojiangjiang <zuojiangjiang@huawei.com>
This commit is contained in:
zuojiangjiang 2024-01-16 15:35:19 +08:00
parent c910801bdc
commit d6ab3701b5

View File

@ -33,7 +33,7 @@ extern "C" __attribute__((visibility("default"))) void NAPI_data_cloudExtension_
}
}
static extern "C" __attribute__((constructor)) void CloudExtensionRegisterModule(void)
static __attribute__((constructor)) void CloudExtensionRegisterModule(void)
{
static napi_module cloudExtensionModule = {
.nm_version = 1,