diff options
author | Quincey Koziol <koziol@hdfgroup.org> | 2001-01-11 16:52:16 (GMT) |
---|---|---|
committer | Quincey Koziol <koziol@hdfgroup.org> | 2001-01-11 16:52:16 (GMT) |
commit | 19d1f30101d67a007a7b210f9aeafe35c0ae90e2 (patch) | |
tree | dd29d5d797679728e9604dcdcd67f037e4ecb543 /src/H5Pprivate.h | |
parent | b885b7ddcf7e560513044dcb796a68057479c691 (diff) | |
download | hdf5-19d1f30101d67a007a7b210f9aeafe35c0ae90e2.zip hdf5-19d1f30101d67a007a7b210f9aeafe35c0ae90e2.tar.gz hdf5-19d1f30101d67a007a7b210f9aeafe35c0ae90e2.tar.bz2 |
[svn-r3268] Purpose:
Code cleanup for C++
Description:
'xor' is a keyword in C++, causing problems compiling the library with a
C++ compiler.
Solution:
Change variables and structure fields from 'xor' to 'xor_val'
Platforms tested:
FreeBSD 4.2 (hawkwind)
Diffstat (limited to 'src/H5Pprivate.h')
-rw-r--r-- | src/H5Pprivate.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/H5Pprivate.h b/src/H5Pprivate.h index 646b5d5..e46dad2 100644 --- a/src/H5Pprivate.h +++ b/src/H5Pprivate.h @@ -39,7 +39,7 @@ typedef enum { /* Define structure to hold property information */ typedef struct H5P_genprop_tag { /* Values for this property */ - uintn xor; /* XOR'ed version of the name, for faster comparisons */ + uintn xor_val; /* XOR'ed version of the name, for faster comparisons */ char *name; /* Name of property */ size_t size; /* Size of property value */ void *value; /* Pointer to property value */ |