From 1b3954383f9a5590f12779178605216532bb515c Mon Sep 17 00:00:00 2001 From: Quincey Koziol Date: Mon, 20 Oct 2003 14:01:35 -0500 Subject: [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 :-) --- src/H5T.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/H5T.c b/src/H5T.c index 937fae2..fdffe13 100644 --- a/src/H5T.c +++ b/src/H5T.c @@ -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 -- cgit v0.12