Skip to content

Commit dfca086

Browse files
Use ifndef
Co-authored-by: Thomas Leonard <[email protected]>
1 parent 12e0336 commit dfca086

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lib_eio/unix/fork_action.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,7 @@
99

1010
#include "fork_action.h"
1111

12-
#ifdef _WIN32
13-
#else
12+
#ifndef _WIN32
1413
void eio_unix_run_fork_actions(int errors, value v_actions) {
1514
int old_flags = fcntl(errors, F_GETFL, 0);
1615
fcntl(errors, F_SETFL, old_flags & ~O_NONBLOCK);

0 commit comments

Comments
 (0)