mirror of
https://github.com/janet-lang/janet
synced 2026-08-26 12:18:51 +00:00
Try io.h on windows
This commit is contained in:
@@ -43,6 +43,7 @@ static void *io_file_unmarshal(JanetMarshalContext *ctx);
|
||||
static Janet io_file_next(void *p, Janet key);
|
||||
|
||||
#ifdef JANET_WINDOWS
|
||||
#include <io.h>
|
||||
#define ftell _ftelli64
|
||||
#define fseek _fseeki64
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user