Changeset 820c6de


Ignore:
Timestamp:
Jun 8, 2010 10:50:36 AM (7 years ago)
Author:
www-data <www-data@…>
Branches:
master, experimental, feature_CIS, feature_PetascopeSecore, feature_cmake, feature_rasdapy, feature_wcps2, fixes, release_8.5, release_9.0, release_9.1, release_9.2, release_9.3, release_9.4, release_9.5
Children:
0a85985
Parents:
d3021927
git-author:
Peter Baumann <baumann@…> (10/15/09 23:37:09)
git-committer:
www-data <www-data@…> (06/08/10 10:50:36)
Message:

PB: HDF changed from MAX_VAR_DIMS to H4_MAX_VAR_DIMS around 9/5/2007 to avoid potential conflicts with NetCDF-3 library

File:
1 edited

Legend:

Unmodified
Added
Removed
  • conversion/hdf.cc

    r8f27e65 r820c6de  
    6363    #error "No mfhdf.h header available."
    6464#endif
     65
     66// HDF changed from MAX_VAR_DIMS to H4_MAX_VAR_DIMS around 9/5/2007 
     67// to avoid potential conflicts with NetCDF-3 library
     68#ifndef H4_MAX_VAR_DIMS
     69    #define H4_MAX_VAR_DIMS MAX_VAR_DIMS
     70#endif
    6571
    6672#include <stdio.h>
     
    284290  char name[256];
    285291  int32 handle=0, sds_id=0, rank=0, dtype=0, numattr=0, array_size=0;
    286   int32 dimsizes[MAX_VAR_DIMS];
     292  int32 dimsizes[H4_MAX_VAR_DIMS];
    287293  int32 *start=NULL;
    288294  int dsize=0;
Note: See TracChangeset for help on using the changeset viewer.