GUACAMOLE-949: Remove unused UNIX_TIME macro.

This commit is contained in:
Nick Couchman 2020-04-02 15:53:51 -04:00
parent bbb794966b
commit a55e1893dd

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).