mirror of
https://github.com/paboyle/Grid.git
synced 2024-11-10 07:55:35 +00:00
No compile on babbage fix
This commit is contained in:
parent
af89c40462
commit
23813ac798
@ -7,7 +7,7 @@
|
|||||||
|
|
||||||
|
|
||||||
#include <arpa/inet.h>
|
#include <arpa/inet.h>
|
||||||
|
#include <algorithm>
|
||||||
// 64bit endian swap is a portability pain
|
// 64bit endian swap is a portability pain
|
||||||
#ifndef __has_builtin // Optional of course.
|
#ifndef __has_builtin // Optional of course.
|
||||||
#define __has_builtin(x) 0 // Compatibility with non-clang compilers.
|
#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::time_t t = std::time(nullptr);
|
||||||
std::tm tm = *std::localtime(&t);
|
std::tm tm = *std::localtime(&t);
|
||||||
std::ostringstream oss;
|
std::ostringstream oss;
|
||||||
oss << std::put_time(&tm, "%c %Z");
|
// oss << std::put_time(&tm, "%c %Z");
|
||||||
header.creation_date = oss.str();
|
header.creation_date = oss.str();
|
||||||
header.archive_date = header.creation_date;
|
header.archive_date = header.creation_date;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user