diff options
author | Björn-Egil Dahlberg <[email protected]> | 2012-07-16 19:30:14 +0200 |
---|---|---|
committer | Björn-Egil Dahlberg <[email protected]> | 2012-07-19 20:22:52 +0200 |
commit | eb510f38e842cb94d24ba8a5ab4a3833aa24428e (patch) | |
tree | b8ef6e673cbb4955f2d7610fa1414d11a0747485 /erts/emulator/test/driver_SUITE_data/timer_drv.c | |
parent | ee6db186807adc034107ea380d847fc12d0237d9 (diff) | |
download | otp-eb510f38e842cb94d24ba8a5ab4a3833aa24428e.tar.gz otp-eb510f38e842cb94d24ba8a5ab4a3833aa24428e.tar.bz2 otp-eb510f38e842cb94d24ba8a5ab4a3833aa24428e.zip |
erts: Remove VxWorks from tests
Diffstat (limited to 'erts/emulator/test/driver_SUITE_data/timer_drv.c')
-rw-r--r-- | erts/emulator/test/driver_SUITE_data/timer_drv.c | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/erts/emulator/test/driver_SUITE_data/timer_drv.c b/erts/emulator/test/driver_SUITE_data/timer_drv.c index 8c3f203a64..57538e0d57 100644 --- a/erts/emulator/test/driver_SUITE_data/timer_drv.c +++ b/erts/emulator/test/driver_SUITE_data/timer_drv.c @@ -1,11 +1,3 @@ -#ifdef VXWORKS -#include <vxWorks.h> -#include <taskVarLib.h> -#include <taskLib.h> -#include <sysLib.h> -#include <string.h> -#include <ioLib.h> -#endif #include <stdio.h> #include "erl_driver.h" @@ -84,12 +76,8 @@ static void timer_read(ErlDrvData p, char *buf, ErlDrvSizeT len) driver_output(port, reply, 1); } else if (buf[0] == DELAY_START_TIMER) { #ifndef __WIN32__ -#ifdef VXWORKS - taskDelay(sysClkRateGet()); -#else sleep(1); #endif -#endif driver_set_timer(port, get_int32(buf + 1)); } } |