Fawkes API  Fawkes Development Version
microhttpd_compat.h
1 /*
2  * microhttpd_compat.h
3  * Copyright (C) 2020 Tarik Viehmann <viehmann@kbsg.rwth-aachen.de>
4  *
5  * Distributed under terms of the MIT license.
6  */
7 
8 #ifndef MICROHTTPD_COMPAT_H
9 #define MICROHTTPD_COMPAT_H
10 #include <microhttpd.h>
11 #if MHD_VERSION >= 0x00097002
12 # define MHD_RESULT MHD_Result
13 #else
14 # define MHD_RESULT int
15 #endif
16 
17 #endif /* !MICROHTTPD_COMPAT_H */