diff options
Diffstat (limited to 'vp8/common/threading.h')
-rw-r--r-- | vp8/common/threading.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/vp8/common/threading.h b/vp8/common/threading.h index 8cf6d26bc..01c82dbb8 100644 --- a/vp8/common/threading.h +++ b/vp8/common/threading.h @@ -12,6 +12,10 @@ #ifndef VP8_COMMON_THREADING_H_ #define VP8_COMMON_THREADING_H_ +#ifdef __cplusplus +extern "C" { +#endif + #if CONFIG_OS_SUPPORT && CONFIG_MULTITHREAD /* Thread management macros */ @@ -183,4 +187,8 @@ static inline int sem_destroy(sem_t * sem) #endif /* CONFIG_OS_SUPPORT && CONFIG_MULTITHREAD */ +#ifdef __cplusplus +} // extern "C" +#endif + #endif // VP8_COMMON_THREADING_H_ |