From 8b3cc74cad5177f8185883a06c938f06a2a05be9 Mon Sep 17 00:00:00 2001 From: rdb Date: Thu, 13 Sep 2018 20:42:16 +0200 Subject: [PATCH] interrogate: write out OS-generic filenames in #include directives Fixes #386 --- dtool/src/interrogate/interrogate.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dtool/src/interrogate/interrogate.cxx b/dtool/src/interrogate/interrogate.cxx index d11bd22ff6..964d38020c 100644 --- a/dtool/src/interrogate/interrogate.cxx +++ b/dtool/src/interrogate/interrogate.cxx @@ -516,7 +516,7 @@ main(int argc, char **argv) { cerr << "Error parsing file: '" << argv[i] << "'\n"; exit(1); } - builder.add_source_file(filename); + builder.add_source_file(filename.to_os_generic()); } // Now that we've parsed all the source code, change the way things are