Skip to content

Commit

Permalink
protected use of NC_UDF0 with ifdef
Browse files Browse the repository at this point in the history
  • Loading branch information
edhartnett committed Aug 30, 2019
1 parent 541d0df commit 0fccc80
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/clib/pio_msg.c
Original file line number Diff line number Diff line change
Expand Up @@ -208,8 +208,10 @@ int create_file_handler(iosystem_desc_t *ios)
/* Call the create file function. */
if (use_ext_ncid)
{
#ifdef NETCDF_INTEGRATION
PLOG((2, "about to call nc_create()"));
nc_create(filename, mode|NC_UDF0, &ncid);
#endif /* NETCDF_INTEGRATION */
}
else
{
Expand Down

0 comments on commit 0fccc80

Please sign in to comment.