mirror of
https://github.com/izzy2lost/Torch.git
synced 2026-07-06 00:18:35 -07:00
Windows issues (#13)
* Fix build errors in MSVS. * Fixes issues in types for light factory.
This commit is contained in:
+1
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user