Skip to content

Commit 4b4486d

Browse files
authored
Merge pull request #30 from BLumia/master
Add missing `#ifdef __cplusplus` in dat.h
2 parents c42dd8a + 1294172 commit 4b4486d

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

thtk/dat.h

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,10 @@
3939
#define API_SYMBOL /* */
4040
#endif
4141

42+
#ifdef __cplusplus
43+
extern "C" {
44+
#endif
45+
4246
typedef struct thdat_t thdat_t;
4347

4448
/* Opens an existing archive file read from the input stream. The stream has

0 commit comments

Comments
 (0)