commit ee7a8798fdecb02f422096b360498424f16330b1 parent 45c585bcb71556e1b3d5c3a8310b8f12641c35a3 Author: Jacki <jacki@thejackimonster.de> Date: Thu, 26 Sep 2024 23:09:09 +0200 Workaround build issues in c++ Signed-off-by: Jacki <jacki@thejackimonster.de> Diffstat:
| M | include/gnunet/gnunet_chat_lib.h | | | 11 | +++++++++++ |
1 file changed, 11 insertions(+), 0 deletions(-)
diff --git a/include/gnunet/gnunet_chat_lib.h b/include/gnunet/gnunet_chat_lib.h @@ -34,7 +34,18 @@ */ /**@{*/ +#ifndef __cplusplus #include <gnunet/gnunet_util_lib.h> +#else +enum GNUNET_GenericReturnValue { + GNUNET_SYSERR = -1, + GNUNET_NO = 0, + GNUNET_OK = 1, + GNUNET_YES = 1, +}; + +struct GNUNET_CONFIGURATION_Handle; +#endif #include <stdint.h> #include <time.h>