add ps_fopen to properly handle fopen on Windows

fixes #22
This commit is contained in:
tildearrow 2022-01-20 05:04:03 -05:00
parent 06dfb7e803
commit 8ab97a959c
8 changed files with 35 additions and 10 deletions

7
src/fileutils.h Normal file
View file

@ -0,0 +1,7 @@
#ifndef _FILEUTILS_H
#define _FILEUTILS_H
#include <stdio.h>
FILE* ps_fopen(const char* path, const char* mode);
#endif