Changeset 25 for trunk/include/samhain.h
- Timestamp:
- Mar 14, 2006, 10:27:38 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/samhain.h
r22 r25 301 301 int safe_fatal (int signal, int method, char * details, char *f, int l); 302 302 303 #define SH_VAL _EQ(a,b) \303 #define SH_VALIDATE_EQ(a,b) \ 304 304 do { \ 305 305 if ((a) != (b)) safe_fatal(0, 0, #a " != " #b, FIL__, __LINE__);\ 306 306 } while (0) 307 307 308 #define SH_VALIDATE_NE(a,b) \ 309 do { \ 310 if ((a) == (b)) safe_fatal(0, 0, #a " == " #b, FIL__, __LINE__);\ 311 } while (0) 308 312 309 313 #if defined(HAVE_MLOCK) && !defined(HAVE_BROKEN_MLOCK)
Note:
See TracChangeset
for help on using the changeset viewer.