Changes to build natively on windows (using mingw-w64 toolchain)

This commit is contained in:
dane committed 2021-04-25 16:04:26 -05:00
1 parent fedbdc3962
commit cf09235040
2 files changed
+1 -2

No files matched your search

+1 -1
View File
@@ -16,7 +16,7 @@ open my $fout, '>', $outfilename;
print $fout "#ifndef $headerguard \n#define $headerguard\nconst char * $constname = \n";
while(my $line = <$fin>) {
$line =~ s/\n/\\n/;
$line =~ s/(\r?\n)/\\n/;
print $fout "\"$line\"\n";
}