GNU libmicrohttpd  0.9.72
mhd_assert.h File Reference

macros for mhd_assert() More...

#include "mhd_options.h"
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for mhd_assert.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define mhd_assert(CHK)
 

Detailed Description

macros for mhd_assert()

Author
Karlson2k (Evgeny Grin)

Definition in file mhd_assert.h.

Macro Definition Documentation

◆ mhd_assert

#define mhd_assert (   CHK)
Value:
do { \
if (! (CHK)) { \
fprintf (stderr, "%s:%u Assertion failed: %s\nProgram aborted.\n", \
__FILE__, (unsigned) __LINE__, #CHK); \
fflush (stderr); abort (); } \
} while (0)

Definition at line 39 of file mhd_assert.h.