mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-03-31 17:10:47 +08:00
[svn-r3607]
Purpose: change macro RGB into HDF5_RGB since RGB is defined on windows platforms Description: Solution: Platforms tested: eirene
This commit is contained in:
parent
2c4afcd66d
commit
b793dd3de8
@ -144,7 +144,7 @@ int Palette_h4_to_h5(int32 file_id,int32 pal_id,hid_t h5g,char*pal_name) {
|
||||
strcpy(palette_label,PALABEL);
|
||||
strcpy(palette_class,PALETTE);
|
||||
strcpy(palette_type,PAL_TYPE);
|
||||
strcpy(palette_colormodel,RGB);
|
||||
strcpy(palette_colormodel,HDF5_RGB);
|
||||
/* convert palette annotation into attribute of palette dataset.
|
||||
Since there are no routines to find the exact tag of palette object,
|
||||
we will check three possible object tags of palette objects, that is:
|
||||
|
@ -62,7 +62,7 @@ converter.*/
|
||||
#define HDF4_PALETTE_TYPE "PAL_TYPE"
|
||||
#define PAL_TYPE "STANDARD8"
|
||||
#define PAL_COLORMODEL "PAL_COLORMODEL"
|
||||
#define RGB "RGB"
|
||||
#define HDF5_RGB "RGB"
|
||||
/* 3. reserved name for HDF5 object name when meeting with name clashing. */
|
||||
|
||||
#define HDF4_VGROUP "HDF4_VGROUP"
|
||||
|
Loading…
x
Reference in New Issue
Block a user