mirror of
https://github.com/paboyle/Grid.git
synced 2025-04-07 04:35:56 +01:00
No compile on babbage fix
This commit is contained in:
parent
af89c40462
commit
23813ac798
lib/parallelIO
@ -7,7 +7,7 @@
|
||||
|
||||
|
||||
#include <arpa/inet.h>
|
||||
|
||||
#include <algorithm>
|
||||
// 64bit endian swap is a portability pain
|
||||
#ifndef __has_builtin // Optional of course.
|
||||
#define __has_builtin(x) 0 // Compatibility with non-clang compilers.
|
||||
|
@ -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;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user