Use wcscmp instead of comparing against a string literal

Should fix OpenSUSE build
This commit is contained in:
ridiculousfish 2017-01-21 11:51:06 -08:00
parent 9361470070
commit 4c56c89afc

View file

@ -1065,7 +1065,7 @@ static int report_function_metadata(const wchar_t *funcname, bool verbose, io_st
}
if (metadata_as_comments) {
if (path != L"stdin") {
if (wcscmp(path, L"stdin")) {
streams.out.append_format(L"# Defined in %ls @ line %d\n", path, line_number);
}
} else {