diff --git a/lib/parallelIO/BinaryIO.h b/lib/parallelIO/BinaryIO.h index 01b79dc6..bb1b559a 100644 --- a/lib/parallelIO/BinaryIO.h +++ b/lib/parallelIO/BinaryIO.h @@ -7,7 +7,7 @@ #include - +#include // 64bit endian swap is a portability pain #ifndef __has_builtin // Optional of course. #define __has_builtin(x) 0 // Compatibility with non-clang compilers. diff --git a/lib/parallelIO/NerscIO.h b/lib/parallelIO/NerscIO.h index 595588dd..a442f20b 100644 --- a/lib/parallelIO/NerscIO.h +++ b/lib/parallelIO/NerscIO.h @@ -83,7 +83,7 @@ inline void NerscMachineCharacteristics(NerscField &header) std::time_t t = std::time(nullptr); std::tm tm = *std::localtime(&t); std::ostringstream oss; - oss << std::put_time(&tm, "%c %Z"); + // oss << std::put_time(&tm, "%c %Z"); header.creation_date = oss.str(); header.archive_date = header.creation_date;