mirror of
https://git.gnunet.org/libmicrohttpd.git
synced 2026-09-29 04:09:31 +03:00
simplify error handling by baking it into the macros
This commit is contained in:
1 parent
4c25471bfd
commit
4acefd453f
16 files changed
+238
-234
No files matched your search
@@ -32,6 +32,16 @@
|
||||
#include <gcrypt.h>
|
||||
#include "mhd_sockets.h" /* only macros used */
|
||||
|
||||
#undef MHD_PANIC
|
||||
|
||||
|
||||
void
|
||||
MHD_PANIC (char *msg)
|
||||
{
|
||||
fprintf (stderr, "%s", msg);
|
||||
abort ();
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
#ifndef WIN32_LEAN_AND_MEAN
|
||||
#define WIN32_LEAN_AND_MEAN 1
|
||||
|
||||
Reference in new issue
Block a user