In case native GCC is missing, inform user

This commit is contained in:
CTCaer
2020-12-20 21:34:43 +02:00
parent 52c65661d8
commit 2fba9848ae
3 changed files with 9 additions and 1 deletions

View File

@@ -33,7 +33,7 @@ int main(int argc, char *argv[])
if(stat(argv[1], &statbuf))
goto error;
if((in_file=fopen(argv[1], "r")) == NULL)
if((in_file=fopen(argv[1], "rb")) == NULL)
goto error;
strcpy(filename, argv[1]);