diff options
author | Rickard Green <[email protected]> | 2016-07-20 15:48:27 +0200 |
---|---|---|
committer | Rickard Green <[email protected]> | 2016-07-20 15:48:27 +0200 |
commit | 2c8a13e5d3aabeedeb290624d6acc02d25db1bd5 (patch) | |
tree | 691f18cbf9b52874c55ba3be0485674cfd7f25a1 /erts/emulator/beam/erl_process.c | |
parent | b490fb8664ec6e5ceaadc1c74350dc666f5406d2 (diff) | |
download | otp-2c8a13e5d3aabeedeb290624d6acc02d25db1bd5.tar.gz otp-2c8a13e5d3aabeedeb290624d6acc02d25db1bd5.tar.bz2 otp-2c8a13e5d3aabeedeb290624d6acc02d25db1bd5.zip |
Fix dirty schedulers build on windows
Diffstat (limited to 'erts/emulator/beam/erl_process.c')
-rw-r--r-- | erts/emulator/beam/erl_process.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/erts/emulator/beam/erl_process.c b/erts/emulator/beam/erl_process.c index 66f22979ad..1ee0cbbcf8 100644 --- a/erts/emulator/beam/erl_process.c +++ b/erts/emulator/beam/erl_process.c @@ -9364,6 +9364,14 @@ erts_set_process_priority(Process *p, Eterm value) } } +#ifdef __WIN32__ +Sint64 +erts_time2reds(ErtsMonotonicTime start, ErtsMonotonicTime end) +{ + return ERTS_TIME2REDS_IMPL__(start, end); +} +#endif + static int scheduler_gc_proc(Process *c_p, int reds_left) { |