Skip to content

Commit

Permalink
modify to address issue 1314
Browse files Browse the repository at this point in the history
  • Loading branch information
jedwards4b committed Jan 5, 2019
1 parent e062f76 commit 5724414
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/clib/pio_darray.c
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,7 @@ pio_inq_var_fill_expected(int ncid, int varid, int pio_type, PIO_Offset type_siz
case PIO_DOUBLE:
memcpy(fillvalue, &double_fill_value, type_size);
break;
#ifdef _NETCDF4
#if defined(_NETCDF4) || defined(_PNETCDF)
case PIO_UBYTE:
memcpy(fillvalue, &ubyte_fill_value, type_size);
break;
Expand All @@ -478,10 +478,12 @@ pio_inq_var_fill_expected(int ncid, int varid, int pio_type, PIO_Offset type_siz
case PIO_UINT64:
memcpy(fillvalue, &uint64_fill_value, type_size);
break;
#ifdef _NETCDF4
case PIO_STRING:
memcpy(fillvalue, string_fill_value, type_size);
break;
#endif /* _NETCDF4 */
#endif/* _NETCDF4 || _PNETCDF */
default:
return PIO_EBADTYPE;
}
Expand Down

0 comments on commit 5724414

Please sign in to comment.