mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-10-14 23:08:00 +02:00
Add explicit time32 and time64 support
Handle the three potential system scenarios: - system time_t is time64 - system time_t is time32 and supports time64 - system time_t is time32 and does not support time64 Add the explicit time32 and time64 functions when necessary and map them accordingly for each of these cases.
This commit is contained in:
@@ -86,6 +86,10 @@
|
||||
#define _SYS_CDEFS_H
|
||||
#endif
|
||||
|
||||
/* Define the ABI for the current system. */
|
||||
//#define LIBBSD_SYS_TIME_BITS 0
|
||||
//#define LIBBSD_SYS_HAS_TIME64 0
|
||||
|
||||
#define LIBBSD_CONCAT(x, y) x ## y
|
||||
#define LIBBSD_STRING(x) #x
|
||||
|
||||
|
Reference in New Issue
Block a user