Add missing #ifdef
This commit is contained in:
@ -15,6 +15,8 @@
|
||||
Contributing author: Richard Berger (Temple U)
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#ifdef LAMMPS_ZSTD
|
||||
|
||||
#include "zstd_file_writer.h"
|
||||
#include <stdio.h>
|
||||
#include <fmt/format.h>
|
||||
@ -156,3 +158,5 @@ void ZstdFileWriter::setChecksum(bool enabled)
|
||||
throw FileWriterException("Checksum flag can not be changed while file is open");
|
||||
checksum_flag = enabled ? 1 : 0;
|
||||
}
|
||||
|
||||
#endif
|
||||
|
||||
@ -15,6 +15,8 @@
|
||||
Contributing author: Richard Berger (Temple U)
|
||||
------------------------------------------------------------------------- */
|
||||
|
||||
#ifdef LAMMPS_ZSTD
|
||||
|
||||
#ifndef LMP_ZSTD_FILE_WRITER_H
|
||||
#define LMP_ZSTD_FILE_WRITER_H
|
||||
|
||||
@ -50,3 +52,4 @@ public:
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user