mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-23 16:20:57 +08:00
[svn-r9805] Purpose:
Code cleanup Description: Remove obsolete support for Watcom C compiler. Platforms tested: None - too minor to require any.
This commit is contained in:
parent
2fcaf3e0f3
commit
76ba1a99d3
@ -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
|
||||
/*
|
||||
|
@ -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)
|
||||
|
@ -4687,9 +4687,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)) {
|
||||
|
Loading…
Reference in New Issue
Block a user