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,12 +36,16 @@
|
||||
#include <confuse.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
# ifndef __BEGIN_DECLS
|
||||
# define __BEGIN_DECLS extern "C" {
|
||||
# define __END_DECLS }
|
||||
# endif
|
||||
#else
|
||||
# ifndef __BEGIN_DECLS
|
||||
# define __BEGIN_DECLS
|
||||
# define __END_DECLS
|
||||
# endif
|
||||
#endif
|
||||
|
||||
/**
|
||||
* @file include/xbps_api.h
|
||||
|
Loading…
Reference in New Issue
Block a user