We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 56736b1 commit e0871deCopy full SHA for e0871de
src/utils/file.c
@@ -38,6 +38,11 @@ typedef struct
38
/* Convert FIO pseudo handle to index in file descriptor array */
39
#define fio_fileno(f) (((size_t)f - 1) | FIO_PIPE_MARKER)
40
41
+#if defined(WIN32)
42
+#undef open(a, b, c)
43
+#undef fopen(a, b)
44
+#endif
45
+
46
/* Use specified file descriptors as stdin/stdout for FIO functions */
47
void fio_redirect(int in, int out, int err)
48
{
0 commit comments