Fix `#ifdef __cplusplus` for blocks `extern "C"` in config.h.cmake.

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
pull/174/head
Slávek Banko 2 years ago
parent cb87252f7d
commit e9571392f6
No known key found for this signature in database
GPG Key ID: 608F5293A04BE668

@ -1153,6 +1153,7 @@ __END_DECLS
#endif
#ifdef __cplusplus
extern "C"
{
#endif
#if !defined(HAVE_VSNPRINTF_PROTO)
int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
@ -1161,7 +1162,7 @@ int vsnprintf(char *str, size_t n, char const *fmt, va_list ap);
int snprintf(char *str, size_t n, char const *fmt, ...);
#endif
#ifdef __cplusplus
extern "C"
}
#endif
#endif
@ -1222,7 +1223,10 @@ extern "C"
#define HAVE_SETEUID_FAKE
#ifdef __cplusplus
extern "C"
{
#endif
int seteuid(INT32_BASETYPE euid); /* defined in fakes.c */
#ifdef __cplusplus
}
#endif
#endif

Loading…
Cancel
Save