xbps_api.h.in: don't redefine __{BEGIN,END}_DECLS; which is true on BSD.
This commit is contained in:
parent
924ef35a07
commit
e277823268
@ -36,11 +36,15 @@
|
|||||||
#include <confuse.h>
|
#include <confuse.h>
|
||||||
|
|
||||||
#ifdef __cplusplus
|
#ifdef __cplusplus
|
||||||
|
# ifndef __BEGIN_DECLS
|
||||||
# define __BEGIN_DECLS extern "C" {
|
# define __BEGIN_DECLS extern "C" {
|
||||||
# define __END_DECLS }
|
# define __END_DECLS }
|
||||||
|
# endif
|
||||||
#else
|
#else
|
||||||
|
# ifndef __BEGIN_DECLS
|
||||||
# define __BEGIN_DECLS
|
# define __BEGIN_DECLS
|
||||||
# define __END_DECLS
|
# define __END_DECLS
|
||||||
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user