19 #ifndef LIBCWD_CONFIG_H
20 #define LIBCWD_CONFIG_H
78 #define CWDEBUG_ALLOC 1
101 #define CWDEBUG_MAGIC (CWDEBUG_ALLOC && 1)
130 #define CWDEBUG_GLIBCXX_DEBUG 0
158 #define CWDEBUG_LOCATION 1
210 #define CWDEBUG_LIBBFD (CWDEBUG_LOCATION && 0)
230 #define CWDEBUG_DEBUG 1
253 #define CWDEBUG_DEBUGOUTPUT (CWDEBUG_DEBUG && 0)
273 #define CWDEBUG_DEBUGM (CWDEBUG_ALLOC && CWDEBUG_DEBUG && 0)
292 #define CWDEBUG_MARKER (CWDEBUG_ALLOC && 1)
298 #define LIBCWD_HAVE_PTHREAD
301 #define LIBCWD_HAVE___LIBC_MALLOC
302 #undef LIBCWD_HAVE__LIBC_MALLOC
303 #define LIBCWD_HAVE_DLOPEN
304 #define LIBCWD_HAVE_POSIX_MEMALIGN
305 #define LIBCWD_HAVE_ALIGNED_ALLOC
306 #define LIBCWD_HAVE_MEMALIGN
307 #define LIBCWD_HAVE_VALLOC
308 #if defined(LIBCWD_HAVE___LIBC_MALLOC) || defined(LIBCWD_HAVE__LIBC_MALLOC) || defined(LIBCWD_HAVE_DLOPEN)
309 #define LIBCWD_USE_EXTERNAL_C_LINKAGE_FOR_MALLOC
313 #ifndef LIBCWD_THREAD_SAFE
314 #define LIBCWD_THREAD_SAFE 0
317 #if LIBCWD_THREAD_SAFE
319 #define LIBCWD_DO_MAX 8
321 #define LIBCWD_DC_MAX 256
345 #define CWDEBUG_DEBUGT 0
347 #define CWDEBUG_DEBUGT 0
357 static unsigned long const config_signature_header_c =
383 #if CWDEBUG_DEBUGOUTPUT
386 (512 * (1 + 128 * (1 + 128 * 2))));
388 extern unsigned long get_config_signature_lib_c() __attribute__((const));
389 extern
void conf_check_failed();
390 extern
void version_check_failed();
407 check_configuration() {
408 if (get_config_signature_lib_c() != config_signature_header_c)
410 if (get_config_signature_lib_c() / 512 != config_signature_header_c / 512)
411 version_check_failed();
namespace for libcwd.
Definition: debug.cc:87