diff options
author | Robb Matzke <matzke@llnl.gov> | 1997-08-11 22:49:59 (GMT) |
---|---|---|
committer | Robb Matzke <matzke@llnl.gov> | 1997-08-11 22:49:59 (GMT) |
commit | 326981f421b993815657daecc8b37bd732513d82 (patch) | |
tree | b7a47af6b8d952ea212ee698b2aa3f7f2db3eb82 /src/hdf5port.h | |
parent | eec23941abb546ba9d4c03e3cacd4ff70f116b7a (diff) | |
download | hdf5-326981f421b993815657daecc8b37bd732513d82.zip hdf5-326981f421b993815657daecc8b37bd732513d82.tar.gz hdf5-326981f421b993815657daecc8b37bd732513d82.tar.bz2 |
[svn-r24] ./src/H5B.c
./src/H5Bprivate.h
./src/H5G.c
H5B_new() only takes two arguments.
./src/H5C.c
Fixed initializer for default_file_create to be the same order
as it's definition.
./src/H5D.c
Changed commented-out code to #if 0/#endif. #if'd out a
variable that was unused because of #if'd out code.
./src/H5Dproto.c
Added a prototype for H5Dwrite().
./src/H5F.c
Changed parentheses to fix precedence problems from:
flags & (~H5AC_OVERWRITE) != 0
to
(flags & ~H5AC_OVERWRITE) != 0
./src/H5H.c
Heap reallocation doubles the heap size instead of tripling it.
./src/H5O.c
Got rid of a statement with no effect.
./src/hdf5port.h
Indented a few #defines. Added a defn for MAX3().
Diffstat (limited to 'src/hdf5port.h')
-rw-r--r-- | src/hdf5port.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/src/hdf5port.h b/src/hdf5port.h index 5b7c848..3f3a5c2 100644 --- a/src/hdf5port.h +++ b/src/hdf5port.h @@ -24,10 +24,13 @@ * Generally useful macro definitions **************************************************************************/ #ifndef MIN -#define MIN(a,b) (((a)<(b)) ? (a) : (b)) +# define MIN(a,b) (((a)<(b)) ? (a) : (b)) #endif #ifndef MAX -#define MAX(a,b) (((a)>(b)) ? (a) : (b)) +# define MAX(a,b) (((a)>(b)) ? (a) : (b)) +#endif +#ifndef MAX3 +# define MAX3(a,b,c) MAX(MAX(a,b),c) #endif /************************************************************************** |