Provide guarded extern "C" { ... } wrapper for C++ compilers
This commit is contained in:
parent
f93587a4c7
commit
824e7e157a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user