[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:
MuQun Yang 2001-03-12 12:18:06 -05:00
parent 2c4afcd66d
commit b793dd3de8
2 changed files with 2 additions and 2 deletions

View File

@ -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:

View File

@ -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"