diff --git a/vlib/v/gen/cheaders.v b/vlib/v/gen/cheaders.v index c2743845e1..a771eca168 100644 --- a/vlib/v/gen/cheaders.v +++ b/vlib/v/gen/cheaders.v @@ -66,9 +66,12 @@ const ( typedef int (*qsort_callback_func)(const void*, const void*); #include // TODO remove all these includes, define all function signatures and types manually #include + #ifdef __cplusplus -#include -#define _MOV std::move +# include +# define _MOV std::move +#else +# define _MOV #endif #ifndef _WIN32