-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
33 additions
and
32 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
related issue: https://github.com/pwsafe/pwsafe/issues/563 | ||
|
||
commit 497246d4beffcd9347b443b1622e4ea64a7b389c | ||
Author: ronys <ronys@pwsafe.org> | ||
Date: Fri Jul 5 22:23:28 2019 +0300 | ||
|
||
Fix GH563: broken build on 32 bit gcc 9.1 | ||
|
||
diff --git src/os/unix/pws_time.h src/os/unix/pws_time.h | ||
index 4be9ffb90..683cb48b9 100644 | ||
--- src/os/unix/pws_time.h | ||
+++ src/os/unix/pws_time.h | ||
@@ -14,8 +14,7 @@ | ||
#include <time.h> | ||
#endif | ||
|
||
-typedef time_t __time32_t; | ||
-#ifndef __time64_t | ||
+#if !defined(__time64_t) && !defined(__TIME64_T_TYPE) | ||
typedef uint64_t __time64_t; | ||
#endif | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters