44 |
|
#include "primitives/Molecule.hpp" |
45 |
|
#include "utils/simError.h" |
46 |
|
#include "io/basic_teebuf.hpp" |
47 |
+ |
#ifdef HAVE_ZLIB |
48 |
|
#include "io/gzstream.hpp" |
49 |
+ |
#endif |
50 |
|
#include "io/Globals.hpp" |
51 |
|
|
52 |
+ |
#ifdef _MSC_VER |
53 |
+ |
#define isnan(x) _isnan((x)) |
54 |
+ |
#define isinf(x) (!_finite(x) && !_isnan(x)) |
55 |
+ |
#endif |
56 |
|
|
57 |
|
#ifdef IS_MPI |
58 |
|
#include <mpi.h> |
685 |
|
std::ostream* DumpWriter::createOStream(const std::string& filename) { |
686 |
|
|
687 |
|
std::ostream* newOStream; |
688 |
< |
#ifdef HAVE_LIBZ |
688 |
> |
#ifdef HAVE_ZLIB |
689 |
|
if (needCompression_) { |
690 |
|
newOStream = new ogzstream(filename.c_str()); |
691 |
|
} else { |