From a9a10b0a055824f676cf426fcd928772aeaa99c8 Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Thu, 27 Sep 2007 16:09:17 -0500 Subject: [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 --- src/H5Rdeprec.c | 2 +- src/H5Tdeprec.c | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 */ -- cgit v0.12