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.

26 lines
474 B

  1. --- a/include/eibclient.h
  2. +++ b/include/eibclient.h
  3. @@ -27,11 +27,12 @@
  4. #ifndef EIBCLIENT_H
  5. #define EIBCLIENT_H
  6. -#include "sys/cdefs.h"
  7. #include "stdint.h"
  8. #include <pthsem.h>
  9. -__BEGIN_DECLS;
  10. +#ifdef __cplusplus
  11. +extern "C" {
  12. +#endif
  13. #include "eibloadresult.h"
  14. @@ -705,5 +706,7 @@ BCU_LOAD_RESULT EIB_LoadImage (EIBConnec
  15. */
  16. int EIB_LoadImage_async (EIBConnection * con, const uint8_t * image, int len);
  17. -__END_DECLS
  18. +#ifdef __cplusplus
  19. +}
  20. +#endif
  21. #endif