diff options
Diffstat (limited to 'src/H5.c')
-rw-r--r-- | src/H5.c | 12 |
1 files changed, 12 insertions, 0 deletions
@@ -830,6 +830,18 @@ HDvsnprintf(char *buf, size_t UNUSED size, const char *fmt, va_list ap) #endif /* H5_HAVE_VSNPRINTF */ #endif /* __PUMAGON__ */ +#ifndef H5_HAVE_ALARM +#ifdef WIN32 +unsigned int HDalarm(N) { + return 0; +} +#endif +#else +unsigned int HDalarm(unsigned int N) { + return alarm(N); +} +#endif + /*------------------------------------------------------------------------- * Function: HDfprintf |