Skip to content

Commit 2baccca

Browse files
committed
Support for C++
1 parent 93d0c72 commit 2baccca

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

inc/gsm.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
#ifndef GSM_H
1010
#define GSM_H
1111

12+
#ifdef __cplusplus
13+
extern "C" {
14+
#endif
15+
1216
#ifdef __cplusplus
1317
# define NeedFunctionPrototypes 1
1418
#endif
@@ -68,4 +72,8 @@ extern void gsm_implode GSM_P((gsm, gsm_signal *, gsm_byte *));
6872

6973
#undef GSM_P
7074

75+
#ifdef __cplusplus
76+
}
77+
#endif
78+
7179
#endif /* GSM_H */

0 commit comments

Comments
 (0)