aboutsummaryrefslogtreecommitdiffstats
path: root/mps/code/testlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'mps/code/testlib.c')
-rw-r--r--mps/code/testlib.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/mps/code/testlib.c b/mps/code/testlib.c
index 7010d2484d8..8cf36491cd3 100644
--- a/mps/code/testlib.c
+++ b/mps/code/testlib.c
@@ -18,6 +18,16 @@ struct itimerspec; /* stop complaints from time.h */
18#endif 18#endif
19#include <time.h> 19#include <time.h>
20 20
21#ifdef MPS_OS_W3
22#ifdef _MSC_VER
23#pragma warning(disable: 4702) /* unreachable code */
24 /* job000605: believed needed to prevent VC7 warning
25 * for error() below, in which va_end is mandated by
26 * ISO C (C99:7.15.1) even though it is unreachable.
27 */
28#endif
29#endif
30
21 31
22/* rnd -- a random number generator 32/* rnd -- a random number generator
23 * 33 *