diff --git a/tasks/tasks_internal.h b/tasks/tasks_internal.h index 402681f273..a1c24c326a 100644 --- a/tasks/tasks_internal.h +++ b/tasks/tasks_internal.h @@ -17,7 +17,9 @@ #define TASKS_HANDLER_INTERNAL_H #include + #include +#include #include #include @@ -26,10 +28,7 @@ #include "../core_type.h" #include "../runloop.h" - -#ifdef __cplusplus -extern "C" { -#endif +RETRO_BEGIN_DECLS enum content_mode_load { @@ -135,9 +134,6 @@ bool take_screenshot(void); bool dump_to_file_desperate(const void *data, size_t size, unsigned type); - -#ifdef __cplusplus -} -#endif +RETRO_END_DECLS #endif