Added STREQ macro

This commit is contained in:
Bert Münnich
2011-09-26 21:53:52 +02:00
parent d08408e942
commit d721d8453e
5 changed files with 8 additions and 6 deletions

View File

@ -140,5 +140,5 @@ void parse_options(int argc, char **argv) {
_options.filenames = argv + optind;
_options.filecnt = argc - optind;
_options.from_stdin = _options.filecnt == 1 &&
!strcmp(_options.filenames[0], "-");
STREQ(_options.filenames[0], "-");
}