build: move src/nvim/xdiff to src/xdiff

Closes #11239
This commit is contained in:
Christian Clason 2021-09-08 22:25:19 +02:00
parent 69f4438d35
commit fbe88ef8f5
17 changed files with 3 additions and 3 deletions

View File

@ -87,8 +87,8 @@ file(MAKE_DIRECTORY ${LINT_SUPPRESSES_ROOT}/src)
file(GLOB NVIM_SOURCES *.c) file(GLOB NVIM_SOURCES *.c)
file(GLOB NVIM_HEADERS *.h) file(GLOB NVIM_HEADERS *.h)
file(GLOB XDIFF_SOURCES xdiff/*.c) file(GLOB XDIFF_SOURCES ../xdiff/*.c)
file(GLOB XDIFF_HEADERS xdiff/*.h) file(GLOB XDIFF_HEADERS ../xdiff/*.h)
foreach(subdir foreach(subdir
os os

View File

@ -119,7 +119,7 @@ typedef struct s_bdiffparam {
long bsize; long bsize;
} bdiffparam_t; } bdiffparam_t;
#include "../memory.h" #include "../nvim/memory.h"
#define xdl_malloc(x) xmalloc((x)) #define xdl_malloc(x) xmalloc((x))
#define xdl_free(ptr) xfree(ptr) #define xdl_free(ptr) xfree(ptr)