From: Victor Julien Date: Wed, 18 Sep 2024 08:15:35 +0000 (+0200) Subject: time: add SCTIME_CMP_EQ X-Git-Tag: suricata-8.0.0-beta1~755 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=5bb2132bb8564a0d7099fd4a53241bdaded8474b;p=thirdparty%2Fsuricata.git time: add SCTIME_CMP_EQ --- diff --git a/src/util-time.h b/src/util-time.h index ba3c55d3f2..1b428a9098 100644 --- a/src/util-time.h +++ b/src/util-time.h @@ -105,6 +105,7 @@ typedef struct { #define SCTIME_CMP_LT(a, b) SCTIME_CMP((a), (b), <) #define SCTIME_CMP_LTE(a, b) SCTIME_CMP((a), (b), <=) #define SCTIME_CMP_NEQ(a, b) SCTIME_CMP((a), (b), !=) +#define SCTIME_CMP_EQ(a, b) SCTIME_CMP((a), (b), ==) static inline SCTime_t SCTimeGetTime(void) {