Cleanup _FreeBSD_version.

This commit is contained in:
Gleb Smirnoff 2005-12-09 13:03:30 +00:00
parent 64806a739b
commit 02d48226cc

View File

@ -1391,9 +1391,6 @@ show_ipfw(struct ip_fw *rule, int pcwidth, int bcwidth)
twidth = strlen(timestr);
}
if (rule->timestamp) {
#if _FreeBSD_version < 500000 /* XXX check */
#define _long_to_time(x) (time_t)(x)
#endif
t = _long_to_time(rule->timestamp);
strcpy(timestr, ctime(&t));