mirror of
https://github.com/HarbourMasters/Shipwright.git
synced 2025-08-19 04:50:05 -07:00
can't align extern
This commit is contained in:
parent
e8371b0c8c
commit
aaf1632951
1 changed files with 1 additions and 1 deletions
|
@ -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());
|
str += StringHelper::Sprintf("\nstatic const char %s[] __attribute__((aligned (2))) = d%s;", name.c_str(), name.c_str());
|
||||||
myset.insert(name);
|
myset.insert(name);
|
||||||
} else {
|
} 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;
|
return str;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue