xbps_api.h.in: don't redefine __{BEGIN,END}_DECLS; which is true on BSD.

This commit is contained in:
Juan RP 2012-12-06 10:54:01 +01:00
parent 924ef35a07
commit e277823268

View File

@ -36,11 +36,15 @@
#include <confuse.h> #include <confuse.h>
#ifdef __cplusplus #ifdef __cplusplus
# define __BEGIN_DECLS extern "C" { # ifndef __BEGIN_DECLS
# define __END_DECLS } # define __BEGIN_DECLS extern "C" {
# define __END_DECLS }
# endif
#else #else
# define __BEGIN_DECLS # ifndef __BEGIN_DECLS
# define __END_DECLS # define __BEGIN_DECLS
# define __END_DECLS
# endif
#endif #endif
/** /**