summaryrefslogtreecommitdiffstats
path: root/src/H5.c
diff options
context:
space:
mode:
authorQuincey Koziol <koziol@hdfgroup.org>2001-06-19 16:21:35 (GMT)
committerQuincey Koziol <koziol@hdfgroup.org>2001-06-19 16:21:35 (GMT)
commitfbc0f37dc5c5fd86e825dc436b56fda23a2e7ea7 (patch)
tree6c44da88a7c2d81532808b3f8c887c28290d475c /src/H5.c
parent5f113eac849ee628a15e70fdfed23b3b34a7db1c (diff)
downloadhdf5-fbc0f37dc5c5fd86e825dc436b56fda23a2e7ea7.zip
hdf5-fbc0f37dc5c5fd86e825dc436b56fda23a2e7ea7.tar.gz
hdf5-fbc0f37dc5c5fd86e825dc436b56fda23a2e7ea7.tar.bz2
[svn-r4017] Purpose:
Code cleanup Description: Several system header files needed to be included on Linux machines to get the prototypes for some of the system calls we are using. Solution: Added a new feature test macro for including the <features.h> header on Linux machines, to set up compile macros for system header files. Platforms tested: Linux (eirene), FreeBSD 4.3 (hawkwind)
Diffstat (limited to 'src/H5.c')
-rw-r--r--src/H5.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/H5.c b/src/H5.c
index d31df68..c0b4221 100644
--- a/src/H5.c
+++ b/src/H5.c
@@ -31,17 +31,10 @@
#include "H5FDmpio.h"
/* we need this for the struct rusage declaration */
-#if defined(H5_HAVE_GETRUSAGE) && defined(linux)
+#if defined(H5_HAVE_GETRUSAGE) && defined(H5_HAVE_SYS_RESOURCE_H)
# include <sys/resource.h>
#endif
-/* We need this on Irix64 even though we've included stdio.h as documented */
-#ifdef FIXME_ON_IRIX_THEN
-#if !defined __MWERKS__
-FILE *fdopen(int fd, const char *mode);
-#endif
-#endif /* FIXME_ON_IRIX_THEN */
-
#define PABLO_MASK H5_mask
/* statically initialize block for pthread_once call used in initializing */