Skip to content

Commit

Permalink
removed more inappropriate ifdefs from pio.h
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Nov 12, 2019
1 parent 12209c7 commit 8d283f2
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/clib/pio.h
Original file line number Diff line number Diff line change
Expand Up @@ -632,8 +632,6 @@ enum PIO_ERROR_HANDLERS
PIO_RETURN_ERROR = (-53)
};

#if defined( _PNETCDF) || defined(_NETCDF)

#define PIO_GLOBAL NC_GLOBAL
#define PIO_UNLIMITED NC_UNLIMITED

Expand Down Expand Up @@ -755,14 +753,8 @@ enum PIO_ERROR_HANDLERS
#define PIO_FILL_UINT NC_FILL_UINT
#define PIO_FILL_INT64 NC_FILL_INT64
#define PIO_FILL_UINT64 NC_FILL_UINT64
#endif /* defined( _PNETCDF) || defined(_NETCDF) */

/** Define the extra error codes for the parallel-netcdf library. */
#ifdef _PNETCDF
#define PIO_EINDEP NC_EINDEP
#else /* _PNETCDF */
#define PIO_EINDEP (-203)
#endif /* _PNETCDF */

/** The first error code for PIO. */
#define PIO_FIRST_ERROR_CODE (-500)
Expand Down

0 comments on commit 8d283f2

Please sign in to comment.