Skip to content

Commit

Permalink
EXODUS: Add missing ifdef for older netCDF
Browse files Browse the repository at this point in the history
  • Loading branch information
gdsjaar committed May 1, 2024
1 parent d306cdd commit 690fc76
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright(C) 1999-2020, 2022, 2023 National Technology & Engineering Solutions
* Copyright(C) 1999-2020, 2022, 2023, 2024 National Technology & Engineering Solutions
* of Sandia, LLC (NTESS). Under the terms of Contract DE-NA0003525 with
* NTESS, the U.S. Government retains certain rights in this software.
*
Expand Down Expand Up @@ -271,8 +271,10 @@ int ex_put_concat_elem_block(int exoid, const void_int *elem_blk_id, char *const
ex_err_fn(exoid, __func__, errmsg, status);
goto error_ret; /* exit define mode and return */
}
#if defined(EX_CAN_USE_NC_DEF_VAR_FILL)
int fill = NC_FILL_CHAR;
nc_def_var_fill(exoid, temp, 0, &fill);
#endif
eb_array[iblk] = temp;

dims[0] = numelbdim;
Expand Down

0 comments on commit 690fc76

Please sign in to comment.