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 */
6
7/* This program is free software; you can redistribute it and/or modify
8 * it under the terms of the GNU General Public License as published by
9 * the Free Software Foundation; either version 2 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU Library General Public License for more details.
16 *
17 * Read the full text in the LICENSE.GPL file in the doc directory.
18 */
19
20#ifndef MICROHTTPD_COMPAT_H
21#define MICROHTTPD_COMPAT_H
22#include <microhttpd.h>
23#if MHD_VERSION >= 0x00097002
24# define MHD_RESULT MHD_Result
25#else
26# define MHD_RESULT int
27#endif
28
29#endif /* !MICROHTTPD_COMPAT_H */