Skip to content

Commit 2c32dae

Browse files
authored
Merge pull request #773 from Ziemas/delaythread-cpp
kernel: Fix c++ support for DelayThread
2 parents 2543716 + a3a0dac commit 2c32dae

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

ee/kernel/include/delaythread.h

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,15 @@
1414
#include <tamtypes.h>
1515
#include <timer.h>
1616

17+
#ifdef __cplusplus
18+
extern "C" {
19+
#endif
20+
1721
extern s32 DelayThread(s32 microseconds);
1822

23+
#ifdef __cplusplus
24+
}
25+
#endif
26+
1927
#endif
2028

0 commit comments

Comments
 (0)