Skip to content

Commit

Permalink
Update util.c
Browse files Browse the repository at this point in the history
  • Loading branch information
lmdu committed Aug 26, 2023
1 parent 8ee5126 commit 42faf54
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/util.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
#ifdef _WIN32
#include "windows.h"
#include "io.h"
#define fopen _wfopen
#define fopen _Py_wfopen

/*int mkstemp(char *template) {
if (_mktemp_s(template, strlen(template) + 1) != 0) {
Expand All @@ -22,6 +22,7 @@ static uint32_t max(uint32_t a, uint32_t b) {
if (a > b) return a;
else return b;
}
#define fopen _Py_open
#endif

//const char ZRAN_INDEX_FILE_ID[] = {'G', 'Z', 'I', 'D', 'X'};
Expand Down

0 comments on commit 42faf54

Please sign in to comment.