1 From cf4dfbe15ef8ead3a7eda974af7d804d447f00db Mon Sep 17 00:00:00 2001
2 From: Glenn Strauss <gstrauss@gluelogic.com>
3 Date: Mon, 4 Oct 2021 09:51:22 -0400
4 Subject: [PATCH] [core] define __BEGIN_DECLS, __END_DECLS if needed
7 src/first.h | 16 ++++++++++++++++
8 1 file changed, 16 insertions(+)
13 #include <sys/types.h>
16 +#ifndef __BEGIN_DECLS
18 +#define __BEGIN_DECLS extern "C" {
20 +#define __BEGIN_DECLS
26 +#define __END_DECLS }
32 #if defined HAVE_STDINT_H
34 #elif defined HAVE_INTTYPES_H