simplify error handling by baking it into the macros

This commit is contained in:
Christian Grothoff committed 2016-09-22 09:25:18 +00:00
1 parent 4c25471bfd
commit 4acefd453f
16 files changed
+238 -234

No files matched your search

+10
View File
@@ -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