From 829c8672bb238e37ba4c2ec9b7a3a3010453e6c0 Mon Sep 17 00:00:00 2001 From: hathach Date: Tue, 27 Nov 2012 15:35:57 +0700 Subject: added _cplusplus extern wrapper --- tinyusb/common/errors.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'tinyusb/common/errors.h') diff --git a/tinyusb/common/errors.h b/tinyusb/common/errors.h index 0106fb988..e4a75f0e8 100644 --- a/tinyusb/common/errors.h +++ b/tinyusb/common/errors.h @@ -38,5 +38,13 @@ #ifndef _TUSB_ERRORS_H_ #define _TUSB_ERRORS_H_ +#ifdef __cplusplus + extern "C" { +#endif + + +#ifdef __cplusplus + } +#endif #endif /* _TUSB_ERRORS_H_ */ -- cgit v1.3.1