Provide guarded extern "C" { ... } wrapper for C++ compilers

This commit is contained in:
Paul LeoNerd Evans 2011-03-30 20:32:51 +01:00
parent f93587a4c7
commit 824e7e157a
1 changed files with 8 additions and 0 deletions

View File

@ -1,3 +1,7 @@
#ifdef __cplusplus
extern "C" {
#endif
#ifndef GUARD_TERMKEY_H_
#define GUARD_TERMKEY_H_
@ -197,3 +201,7 @@ typedef TermKeyKey termkey_key;
typedef TermKey termkey_t;
#endif
#ifdef __cplusplus
}
#endif