30 #define MHD_ASSERT_H 1 34 #if ! defined(_DEBUG) && ! defined(NDEBUG) 41 #if defined(_DEBUG) && defined(NDEBUG) 42 #error Both _DEBUG and NDEBUG are defined 45 # define mhd_assert(ignore) ((void) 0) 49 # define mhd_assert(CHK) assert (CHK) 53 # define mhd_assert(CHK) \ 56 fprintf (stderr, "%s:%u Assertion failed: %s\nProgram aborted.\n", \ 57 __FILE__, (unsigned) __LINE__, #CHK); \ 58 fflush (stderr); abort (); } \ additional automatic macros for MHD_config.h