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:
parent
aa30549337
commit
789b75df92
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user