Skip to content
Snippets Groups Projects
Commit 010129d3 authored by Uwe Schulzweida's avatar Uwe Schulzweida
Browse files

Moved include of io.h to windows branch

parent ef897ee9
No related branches found
No related tags found
1 merge request!135Windows support
Pipeline #98584 passed
......@@ -18,13 +18,13 @@
#include <errno.h>
#include <fcntl.h>
#include <io.h>
#include <string.h>
// On Windows, define ssize_t and pread manually
#ifdef _WIN32
#define ssize_t __int64
#define pread read
#include <io.h>
#else
#include <unistd.h>
#endif
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment