You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

25 lines
460 B

  1. --- a/src/include/eibclient.h
  2. +++ b/src/include/eibclient.h
  3. @@ -27,10 +27,11 @@
  4. #ifndef EIBCLIENT_H
  5. #define EIBCLIENT_H
  6. -#include <sys/cdefs.h>
  7. #include <stdint.h>
  8. -__BEGIN_DECLS;
  9. +#ifdef __cplusplus
  10. +extern "C" {
  11. +#endif
  12. #include "eibloadresult.h"
  13. @@ -935,5 +936,7 @@ int EIB_Cache_LastUpdates2_async (EIBConnection * con, uint32_t start,
  14. uint32_t * end);
  15. -__END_DECLS
  16. +#ifdef __cplusplus
  17. +}
  18. +#endif
  19. #endif