mirror of
https://github.com/HarbourMasters/Shipwright
synced 2026-06-25 18:24:27 -04:00
hopefully fix compilation for everythign
This commit is contained in:
@@ -801,9 +801,11 @@ void ZFile::GenerateSourceHeaderFiles()
|
||||
OutputFormatter formatter;
|
||||
|
||||
formatter.Write("#pragma once\n");
|
||||
bool first = true;
|
||||
for (ZResource* res : resources)
|
||||
{
|
||||
std::string resSrc = res->GetSourceOutputHeader("");
|
||||
std::string resSrc = res->GetSourceOutputHeader("", first);
|
||||
first = false;
|
||||
formatter.Write(resSrc);
|
||||
|
||||
if (resSrc != "")
|
||||
@@ -812,7 +814,7 @@ void ZFile::GenerateSourceHeaderFiles()
|
||||
|
||||
for (auto& sym : symbolResources)
|
||||
{
|
||||
formatter.Write(sym.second->GetSourceOutputHeader(""));
|
||||
formatter.Write(sym.second->GetSourceOutputHeader("", first));
|
||||
}
|
||||
|
||||
formatter.Write(ProcessExterns());
|
||||
|
||||
Reference in New Issue
Block a user