From d9ba04e4705a1281b43e660fc1ad2be6788d49ab Mon Sep 17 00:00:00 2001 From: twinaphex Date: Fri, 3 Jun 2016 02:43:30 +0200 Subject: [PATCH] Fix CXX_BUILD --- tasks/tasks_internal.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) 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