Remove dependencies from PROFILING_ENABLED in test cases.
@@ -79,11 +79,7 @@ int main (int argc, char **argv)
CHECK_OFFSET(YR_MATCHES, 8, head);
CHECK_OFFSET(YR_MATCHES, 16, tail);
- CHECK_SIZE(YR_STRING, 48 + 2 * 24 /* YR_MATCHES */ * MAX_THREADS
-# ifdef PROFILING_ENABLED
- + 8
-# endif
- );
+ CHECK_SIZE(YR_STRING, 56 + 2 * 24 /* YR_MATCHES */ * MAX_THREADS);
CHECK_OFFSET(YR_STRING, 4, length);
CHECK_OFFSET(YR_STRING, 8, identifier);
CHECK_OFFSET(YR_STRING, 16, string);
@@ -92,11 +88,7 @@ int main (int argc, char **argv)
CHECK_OFFSET(YR_STRING, 36, chain_gap_max);
CHECK_OFFSET(YR_STRING, 40, fixed_offset);
- CHECK_SIZE(YR_RULE, 8 + 4 * MAX_THREADS + 40
-# ifdef PROFILING_ENABLED
- + 8
-# endif
- );
+ CHECK_SIZE(YR_RULE, 16 + 4 * MAX_THREADS + 40);
CHECK_OFFSET(YR_RULE, 4, t_flags);
CHECK_OFFSET(YR_RULE, 8 + 4 * MAX_THREADS, identifier);
CHECK_OFFSET(YR_RULE, 8 + 4 * MAX_THREADS + 8, tags);
