mirror of
https://github.com/RfidResearchGroup/proxmark3.git
synced 2025-08-14 18:48:13 -07:00
fix proxspace build
This commit is contained in:
parent
02a801f665
commit
93d7d46776
2 changed files with 8 additions and 0 deletions
|
@ -140,7 +140,11 @@ static void print_time(uint64_t at) {
|
|||
#endif
|
||||
|
||||
char res[70];
|
||||
#if defined(__MINGW32__) || defined(__MINGW64__)
|
||||
strftime(res, sizeof(res), "('%Y-%m-%d %H:%M:%S')", <);
|
||||
#else
|
||||
strftime(res, sizeof(res), "%s ('%Y-%m-%d %H:%M:%S')", <);
|
||||
#endif
|
||||
printf("%s\n", res);
|
||||
}
|
||||
|
||||
|
|
|
@ -170,7 +170,11 @@ static void print_time(uint64_t at) {
|
|||
#endif
|
||||
|
||||
char res[70];
|
||||
#if defined(__MINGW32__) || defined(__MINGW64__)
|
||||
strftime(res, sizeof(res), "('%Y-%m-%d %H:%M:%S')", <);
|
||||
#else
|
||||
strftime(res, sizeof(res), "%s ('%Y-%m-%d %H:%M:%S')", <);
|
||||
#endif
|
||||
printf("%s\n", res);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue