haiku/build/config_headers/paranoia_config.h
Ingo Weinhold dfa611bb04 Added paranoia checks debug facility. It helps checking that data in
memory haven't changed behind one's back.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@25193 a95241bf-73f2-0310-859d-f6bbb57e9c96
2008-04-26 20:25:02 +00:00

21 lines
430 B
C

#ifndef DEBUG_PARANOIA_CONFIG_H
#define DEBUG_PARANOIA_CONFIG_H
// enable paranoia checks (0/1)
#ifndef ENABLE_PARANOIA_CHECKS
# define ENABLE_PARANOIA_CHECKS 1
#endif
// number of check slots (should depend on the components for which checks
// are enabled)
#define PARANOIA_SLOT_COUNT 1024
// macros that enable paranoia checks for individual components
//#define NET_BUFFER_PARANOIA 1
#endif // DEBUG_PARANOIA_CONFIG_H