Skip to content

Commit

Permalink
arraymap.c: use windows.h instead of Windows.h
Browse files Browse the repository at this point in the history
To fix cross-compilation compatibility
  • Loading branch information
Andarwinux committed May 23, 2024
1 parent fcc5c23 commit 9326ba7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/common/arraymap.c
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ static void FTRUNCATE(FILE *fp, off_t z) {
static FILE *OPENTMPFILE() { return tmpfile(); }
static void CLOSETMPFILE(FILE *fp) { fclose(fp); }
#else
#include <Windows.h>
#include <windows.h>
#include <io.h>

static void FLOCK(FILE *fp) { }
Expand Down

0 comments on commit 9326ba7

Please sign in to comment.