diff options
author | Sverker Eriksson <[email protected]> | 2017-02-14 16:41:19 +0100 |
---|---|---|
committer | Sverker Eriksson <[email protected]> | 2017-02-20 20:06:37 +0100 |
commit | 28e6aeb8c0cc0e8b8821be957e3ee9c1eb015de6 (patch) | |
tree | e1072dd49c09e64a7aded067b46871b917ec9a02 /erts/emulator/sys/common | |
parent | 839ad04bbacb329c89568371bbf5a28d4b2bba25 (diff) | |
download | otp-28e6aeb8c0cc0e8b8821be957e3ee9c1eb015de6.tar.gz otp-28e6aeb8c0cc0e8b8821be957e3ee9c1eb015de6.tar.bz2 otp-28e6aeb8c0cc0e8b8821be957e3ee9c1eb015de6.zip |
Fix enif_select for windows
Diffstat (limited to 'erts/emulator/sys/common')
-rw-r--r-- | erts/emulator/sys/common/erl_check_io.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/erts/emulator/sys/common/erl_check_io.c b/erts/emulator/sys/common/erl_check_io.c index 1c97df4201..8191b6e53f 100644 --- a/erts/emulator/sys/common/erl_check_io.c +++ b/erts/emulator/sys/common/erl_check_io.c @@ -201,7 +201,8 @@ static ERTS_INLINE ErtsDrvEventState* hash_new_drv_ev_state(ErtsSysFdType fd) #if ERTS_CIO_HAVE_DRV_EVENT tmpl.driver.event = NULL; #endif - tmpl.driver.drv_ptr = NULL; + tmpl.driver.nif = NULL; + tmpl.driver.stop.drv_ptr = NULL; tmpl.events = 0; tmpl.remove_cnt = 0; tmpl.type = ERTS_EV_TYPE_NONE; |