GUACAMOLE-949: Merge removal of unused UNIX_TIME macro.

This commit is contained in:
Mike Jumper 2020-04-13 23:16:25 -07:00 committed by GitHub
commit 9c37fc5617
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -108,14 +108,6 @@
*/
#define GUAC_RDP_FS_ENOTSUP -10
/**
* Converts a Windows timestamp (100 nanosecond intervals since Jan 1, 1601
* UTC) to UNIX timestamp (seconds since Jan 1, 1970 UTC).
*
* This conversion is lossy.
*/
#define UNIX_TIME(t) ((time_t) ((t / 10000000 + ((uint64_t) 11644473600))))
/**
* Converts a UNIX timestamp (seconds since Jan 1, 1970 UTC) to Windows
* timestamp (100 nanosecond intervals since Jan 1, 1601 UTC).