diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2007-09-27 21:09:17 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2007-09-27 21:09:17 (GMT) |
commit | a9a10b0a055824f676cf426fcd928772aeaa99c8 (patch) | |
tree | 47de81015c96b871db33b25bc3d071f05bfd42d7 | |
parent | 2c93a80648a72fd19d13c3c014ef998dc1f88f8f (diff) | |
download | hdf5-a9a10b0a055824f676cf426fcd928772aeaa99c8.zip hdf5-a9a10b0a055824f676cf426fcd928772aeaa99c8.tar.gz hdf5-a9a10b0a055824f676cf426fcd928772aeaa99c8.tar.bz2 |
[svn-r14161] Description:
Add forgotten ifdef's around deprecated routines.
Tested on:
FreeBSD/32 6.2 (duty) in debug mode
FreeBSD/64 6.2 (liberty) w/C++ & FORTRAN, in debug mode
Linux/32 2.6 (kagiso) w/PGI compilers, w/C++ & FORTRAN, w/threadsafe,
in debug mode
Linux/64 2.6 (smirom) w/default API=1.6.x, w/C++ & FORTRAN,
in production mode
Solaris/32 2.10 (linew) w/deprecated symbols disabled, w/C++ & FORTRAN,
w/szip filter, in production mode
AIX/32 5.3 (copper) w/FORTRAN, w/parallel, in production mode
Mac OS X/32 10.4.10 (amazon) in debug mode
-rw-r--r-- | src/H5Rdeprec.c | 2 | ||||
-rw-r--r-- | src/H5Tdeprec.c | 2 |
2 files changed, 3 insertions, 1 deletions
diff --git a/src/H5Rdeprec.c b/src/H5Rdeprec.c index 36f0d40..9dcfa45 100644 --- a/src/H5Rdeprec.c +++ b/src/H5Rdeprec.c @@ -47,6 +47,7 @@ #include "H5Rpkg.h" /* References */ +#ifndef H5_NO_DEPRECATED_SYMBOLS /****************/ /* Local Macros */ /****************/ @@ -103,7 +104,6 @@ H5R_init_deprec_interface(void) FUNC_LEAVE_NOAPI(H5R_init()) } /* H5R_init_deprec_interface() */ -#ifndef H5_NO_DEPRECATED_SYMBOLS /*-------------------------------------------------------------------------- NAME diff --git a/src/H5Tdeprec.c b/src/H5Tdeprec.c index 6b30c55..64386b1 100644 --- a/src/H5Tdeprec.c +++ b/src/H5Tdeprec.c @@ -47,6 +47,7 @@ #include "H5Tpkg.h" /* Datatypes */ +#ifndef H5_NO_DEPRECATED_SYMBOLS /****************/ /* Local Macros */ /****************/ @@ -224,4 +225,5 @@ done: FUNC_LEAVE_API(ret_value) } /* end H5Topen1() */ +#endif /* H5_NO_DEPRECATED_SYMBOLS */ |