1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

cheaders: fix _MOV macro in the C case

This commit is contained in:
Delyan Angelov 2020-05-16 15:50:59 +03:00
parent aa30549337
commit 789b75df92

View File

@ -66,9 +66,12 @@ const (
typedef int (*qsort_callback_func)(const void*, const void*);
#include <stdio.h> // TODO remove all these includes, define all function signatures and types manually
#include <stdlib.h>
#ifdef __cplusplus
#include <utility>
#define _MOV std::move
# include <utility>
# define _MOV std::move
#else
# define _MOV
#endif
#ifndef _WIN32