diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-07-20 17:42:03 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-07-20 17:42:03 (GMT) |
commit | fb1b6d411f3680eeb5708968313daf6478843b90 (patch) | |
tree | 164dc2ed4399c14fb44c48a5f4d884cd8789bafe | |
parent | f06ac194886cfa7b491bd6f40379a42fee4bea50 (diff) | |
download | hdf5-fb1b6d411f3680eeb5708968313daf6478843b90.zip hdf5-fb1b6d411f3680eeb5708968313daf6478843b90.tar.gz hdf5-fb1b6d411f3680eeb5708968313daf6478843b90.tar.bz2 |
[svn-r4247] Purpose:
Code cleanup
Description:
H5_inline is not being defined on certain machines, causing compile
failures.
Solution:
If H5_inline is not defined yet, define it to a null value.
Platforms tested:
FreeBSD 4.3 (hawkwind)
-rw-r--r-- | src/H5private.h | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/src/H5private.h b/src/H5private.h index 1a24d3a..771b417 100644 --- a/src/H5private.h +++ b/src/H5private.h @@ -140,13 +140,6 @@ #define VC_EXTRALEAN /*Exclude rarely-used stuff from Windows headers */ #include <windows.h> -/* H5_inline */ - -/* remove any previous defs made by configure in unix */ -#ifdef H5_inline -# undef H5_inline -#endif - /* inline is now in C but in the C99 standard and not the old C89 version so MS doesn't recognize it yet (as of April 2001) @@ -157,9 +150,13 @@ MS doesn't recognize it yet (as of April 2001) # define H5_inline #endif +#endif /*WIN32*/ + +/* H5_inline */ +#ifndef H5_inline +#define H5_inline +#endif /* H5_inline */ -#endif -/*WIN32*/ #ifndef F_OK # define F_OK 00 |