summaryrefslogtreecommitdiff
path: root/ZAPD/ZFile.cpp
diff options
context:
space:
mode:
authorNicholas Estelami <NEstelami@users.noreply.github.com>2023-04-30 21:23:26 -0400
committerGitHub <noreply@github.com>2023-04-30 21:23:26 -0400
commit0e6ab4ab9f9a7bf3f5d52407db4873f0d35697e4 (patch)
treee82b20f2c6e2f1e38efcf5a6bc62c5794f6087b7 /ZAPD/ZFile.cpp
parent35d6c0c852722b0edb063cb9a8ad74de22bd2524 (diff)
Fixed issue with include paths on Windows (#284)
Diffstat (limited to 'ZAPD/ZFile.cpp')
-rw-r--r--ZAPD/ZFile.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/ZAPD/ZFile.cpp b/ZAPD/ZFile.cpp
index ad56f98..f6f64c4 100644
--- a/ZAPD/ZFile.cpp
+++ b/ZAPD/ZFile.cpp
@@ -816,7 +816,7 @@ void ZFile::GenerateSourceHeaderFiles()
std::string ZFile::GetHeaderInclude() const
{
std::string headers = StringHelper::Sprintf("#include \"%s.h\"\n",
- (outName.parent_path() / outName.stem()).c_str());
+ (outName.parent_path() / outName.stem()).string().c_str());
return headers;
}
@@ -850,7 +850,7 @@ std::string ZFile::GetExternalFileHeaderInclude() const
}
externalFilesIncludes +=
- StringHelper::Sprintf("#include \"%s.h\"\n", outputFolderPath.c_str());
+ StringHelper::Sprintf("#include \"%s.h\"\n", outputFolderPath.string().c_str());
}
}