From 406af09ade55553e2b064506c3ba3c89bd965d73 Mon Sep 17 00:00:00 2001 From: Benji Dial Date: Thu, 4 Mar 2021 19:11:42 -0500 Subject: start of a c++ widget toolkit, c++ runtime --- src/user/include/pland/pcrt.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/user/include/pland/pcrt.h') diff --git a/src/user/include/pland/pcrt.h b/src/user/include/pland/pcrt.h index 795738e..6581cbe 100644 --- a/src/user/include/pland/pcrt.h +++ b/src/user/include/pland/pcrt.h @@ -1,6 +1,10 @@ #ifndef PLAND_PCRT_H #define PLAND_PCRT_H +#ifdef __cplusplus +extern "C" { +#endif + #include #define BEFORE_MAIN(f) \ @@ -19,4 +23,8 @@ extern _task_handle_t calling_task; extern _task_handle_t stdio_task; extern _task_handle_t this_task; +#ifdef __cplusplus +} +#endif + #endif -- cgit v1.2.3