diff options
author | Fang Guo <fangguo@ncsa.uiuc.edu> | 2005-09-29 17:34:18 (GMT) |
---|---|---|
committer | Fang Guo <fangguo@ncsa.uiuc.edu> | 2005-09-29 17:34:18 (GMT) |
commit | 25b5aa05f34d2cdb450d5790145ce53f16cc068a (patch) | |
tree | c98fab9efc32168199dbef0a6a1e70d21d1c29f6 /src/H5.c | |
parent | 3d21af7eb88d188e9a271d408a8d1e0395472e4e (diff) | |
download | hdf5-25b5aa05f34d2cdb450d5790145ce53f16cc068a.zip hdf5-25b5aa05f34d2cdb450d5790145ce53f16cc068a.tar.gz hdf5-25b5aa05f34d2cdb450d5790145ce53f16cc068a.tar.bz2 |
[svn-r11480] Purpose:
Maintenance on Windows
Description:
No alarm function on Windows, opt out
Solution:
Platforms tested:
MSVS 6.0 on Windows XP
Misc. update:
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 |