cheaders: fix _MOV macro in the C case

pull/4917/head
Delyan Angelov 2020-05-16 15:50:59 +03:00
parent aa30549337
commit 789b75df92
1 changed files with 5 additions and 2 deletions

View File

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