Windows issues (#13)

* Fix build errors in MSVS.

* Fixes issues in types for light factory.
This commit is contained in:
Kenix3
2023-11-17 08:39:13 -06:00
committed by GitHub
parent 0700ca68b1
commit a71c9b187f
3 changed files with 5 additions and 4 deletions
+1 -1
View File
@@ -329,7 +329,7 @@ void Companion::Process() {
std::ofstream file(output, std::ios::binary);
if(gExporterType == ExportType::Header) {
std::string symbol = entry.path().stem();
std::string symbol = entry.path().stem().string();
std::transform(symbol.begin(), symbol.end(), symbol.begin(), toupper);
file << "#ifndef " << symbol << "_H" << std::endl;
file << "#define " << symbol << "_H" << std::endl << std::endl;