Remove unused date constants

This commit is contained in:
frekky 2016-01-09 15:05:41 +08:00
parent 4cdb3900d8
commit 4c3e546b57

View File

@ -93,13 +93,6 @@ struct ip
struct in_addr ip_src, ip_dst; /* source and dest address */ struct in_addr ip_src, ip_dst; /* source and dest address */
}; };
/* windows gettimeofday from https://gist.github.com/ugovaretto/5875385 */
#if defined(_MSC_VER) || defined(_MSC_EXTENSIONS)
#define DELTA_EPOCH_IN_MICROSECS 116444736000000000Ui64
#else
#define DELTA_EPOCH_IN_MICROSECS 116444736000000000ULL
#endif
/* Convenience macros for operations on timevals. /* Convenience macros for operations on timevals.
NOTE: `timercmp' does not work for >= or <=. */ NOTE: `timercmp' does not work for >= or <=. */
#define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec) #define timerisset(tvp) ((tvp)->tv_sec || (tvp)->tv_usec)