Blob Blame History Raw
diff -up VTK-9.1.0/ThirdParty/exodusII/vtkexodusII/src/ex_utils.c.netcdf VTK-9.1.0/ThirdParty/exodusII/vtkexodusII/src/ex_utils.c
--- VTK-9.1.0/ThirdParty/exodusII/vtkexodusII/src/ex_utils.c.netcdf	2021-11-04 13:48:20.000000000 -0600
+++ VTK-9.1.0/ThirdParty/exodusII/vtkexodusII/src/ex_utils.c	2022-06-28 07:04:11.574398570 -0600
@@ -1770,7 +1770,9 @@ void ex__compress_variable(int exoid, in
         */
 
         /* const int NC_SZIP_EC = 4; */ /* Selects entropy coding method for szip. */
+#if !defined(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;