Skip to content
Snippets Groups Projects

Windows support

Merged Mathieu Westphal requested to merge b383306/libcdi:windows_support into develop
1 file
+ 1
1
Compare changes
  • Side-by-side
  • Inline
+ 1
1
@@ -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
Loading