summaryrefslogtreecommitdiff
path: root/var/spack/repos/builtin/packages/paraview/exodusII-netcdf4.9.0.patch
blob: ec90224277f03d5c68bd35815b5e48e06a376b44 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
*** a/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_utils.c	2023-03-16 16:57:14.172102586 -0400
--- b/VTK/ThirdParty/exodusII/vtkexodusII/src/ex_utils.c	2023-03-16 11:20:28.230116660 -0400
***************
*** 1770,1776 ****
--- 1770,1778 ----
          */
  
          /* const int NC_SZIP_EC = 4; */ /* Selects entropy coding method for szip. */
+ #ifndef NC_SZIP_NN
          const int NC_SZIP_NN = 32;      /* Selects nearest neighbor coding method for szip. */
+ #endif
          /* Even and between 4 and 32; typical values are 8, 10, 16, 32 */
          const int SZIP_PIXELS_PER_BLOCK =
              file->compression_level == 0 ? 32 : file->compression_level;