Changeset 13652

Show
Ignore:
Timestamp:
02/01/08 10:56:04 (5 months ago)
Author:
retsios
Message:

Changed struct definition to be C++ compatible (according to MSVC6.0)

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • spike/grib/degrib18/g2clib-1.0.4/grib2.h

    r12090 r13652  
    157157typedef float g2float; 
    158158 
    159 struct template
     159typedef struct
    160160   g2int type;           /* 3=Grid Defintion Template.                       */ 
    161161                         /* 4=Product Defintion Template.                    */ 
     
    171171   g2int *ext;           /* num of octets of each entry in the extension     */ 
    172172                         /*                      part of the template.       */ 
    173 }
    174  
    175 typedef struct template template; 
     173} template
     174 
     175//typedef struct template template; // otherwise VC6 gives "error C2447: missing function header (old-style formal list?)" 
    176176 
    177177struct gribfield {