Add Windows compatibility to fopen

This commit is contained in:
Tim Rühsen 2018-10-05 20:47:26 +02:00
parent 523397fb83
commit d691a3b941
1 changed files with 1 additions and 1 deletions

View File

@ -1165,7 +1165,7 @@ psl_ctx_t *psl_load_file(const char *fname)
if (!fname)
return NULL;
if ((fp = fopen(fname, "r"))) {
if ((fp = fopen(fname, "rb"))) {
psl = psl_load_fp(fp);
fclose(fp);
}