mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-05-23 06:54:39 -04:00
can't align extern
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user