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 authored and blapie committed May 31, 2024
1 parent 0e3cac2 commit c972d67
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 c972d67

Please sign in to comment.