mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-11 16:01:00 +08:00
[svn-r7675] Purpose:
Bug fix Description: Avoid "OPAQUE" symbol in template macro invocation, since it's already defined as a macro on Windows. Solution: OPAQUE -> OPAQ Platforms tested: FreeBSD 4.9 (sleipnir) Windows ? (Pedro's machine :-)
This commit is contained in:
parent
4257a5e1f8
commit
1b3954383f
@ -359,7 +359,7 @@ static herr_t H5T_register(H5T_pers_t pers, const char *name, H5T_t *src,
|
||||
}
|
||||
|
||||
/* Define the code templates for opaque for the "GUTS" in the H5T_INIT_TYPE macro */
|
||||
#define H5T_INIT_TYPE_OPAQUE_CORE { \
|
||||
#define H5T_INIT_TYPE_OPAQ_CORE { \
|
||||
H5T_INIT_TYPE_ALLOC_COMMON(H5T_OPAQUE) \
|
||||
dt->u.opaque.tag = H5MM_strdup(""); \
|
||||
}
|
||||
@ -761,7 +761,7 @@ H5T_init_interface(void)
|
||||
copied_dtype=0;
|
||||
|
||||
/* Opaque data */
|
||||
H5T_INIT_TYPE(OPAQUE,H5T_NATIVE_OPAQUE_g,ALLOC,-,SET,1)
|
||||
H5T_INIT_TYPE(OPAQ,H5T_NATIVE_OPAQUE_g,ALLOC,-,SET,1)
|
||||
|
||||
/*------------------------------------------------------------
|
||||
* The `C' architecture
|
||||
|
Loading…
Reference in New Issue
Block a user