diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2005-01-11 15:43:17 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2005-01-11 15:43:17 (GMT) |
commit | d1df65a310a76b12aed848223465d511f08e1eec (patch) | |
tree | c6e8243d419f10a6066efc30db9f138d7c890b07 | |
parent | a6fe61916f26b523b781235bf6529b92e110d67c (diff) | |
download | hdf5-d1df65a310a76b12aed848223465d511f08e1eec.zip hdf5-d1df65a310a76b12aed848223465d511f08e1eec.tar.gz hdf5-d1df65a310a76b12aed848223465d511f08e1eec.tar.bz2 |
[svn-r9806] Purpose:
Code cleanup
Description:
Remove obsolete support for Watcom C compiler.
Platforms tested:
None - too minor to require any.
-rw-r--r-- | perform/iopipe.c | 8 | ||||
-rw-r--r-- | src/H5private.h | 4 | ||||
-rw-r--r-- | test/dtypes.c | 4 |
3 files changed, 3 insertions, 13 deletions
diff --git a/perform/iopipe.c b/perform/iopipe.c index 92c85c3..704637e 100644 --- a/perform/iopipe.c +++ b/perform/iopipe.c @@ -148,14 +148,10 @@ synchronize (void) { #ifdef H5_HAVE_SYSTEM #ifdef WIN32 -#ifdef __WATCOMC__ flushall(); -#else /* __WATCOMC__ */ - _flushall(); -#endif /* __WATCOMC__ */ #else - system ("sync"); - system ("df >/dev/null"); + HDsystem ("sync"); + HDsystem ("df >/dev/null"); #endif #if 0 /* diff --git a/src/H5private.h b/src/H5private.h index 526717c..69b5e6e 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -771,11 +771,7 @@ typedef off_t h5_stat_size_t; #define HDsinh(X) sinh(X) #define HDsleep(N) sleep(N) #ifdef H5_HAVE_SNPRINTF -#ifdef __WATCOMC__ -# define HDsnprintf _snprintf /*varargs*/ -#else /* __WATCOMC__ */ # define HDsnprintf snprintf /*varargs*/ -#endif /* __WATCOMC__ */ #endif /* sprintf() variable arguments */ #define HDsqrt(X) sqrt(X) diff --git a/test/dtypes.c b/test/dtypes.c index b4c5691..fb1c76f 100644 --- a/test/dtypes.c +++ b/test/dtypes.c @@ -4648,9 +4648,7 @@ test_conv_flt_1 (const char *name, hid_t src, hid_t dst) * The remainder of this function is executed only by the child if * HANDLE_SIGFPE is defined. */ -#ifndef __WATCOMC__ - signal(SIGFPE,fpe_handler); -#endif + HDsignal(SIGFPE,fpe_handler); /* What are the names of the source and destination types */ if (H5Tequal(src, H5T_NATIVE_FLOAT)) { |