can't align extern

This commit is contained in:
Jeffrey Crowell
2022-07-04 22:57:47 -04:00
parent e8371b0c8c
commit aaf1632951
+1 -1
View File
@@ -352,7 +352,7 @@ std::string ZResource::GetSourceOutputHeader([[maybe_unused]] const std::string&
str += StringHelper::Sprintf("\nstatic const char %s[] __attribute__((aligned (2))) = d%s;", name.c_str(), name.c_str());
myset.insert(name);
} else {
str += StringHelper::Sprintf("\nextern static const char %s[] __attribute__((aligned (2)));", name.c_str());
str += StringHelper::Sprintf("\nextern static const char %s[];", name.c_str());
}
return str;