Skip to content

Commit 730637a

Browse files
committed
Temporarily revert "mimalloc: adjust for building inside Git"
In preparation for upgrading to a newer mimalloc version. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent ff02073 commit 730637a

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

compat/mimalloc/alloc.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ terms of the MIT license. A copy of the license can be found in the file
1717
#include <stdlib.h> // malloc, abort
1818

1919
#define MI_IN_ALLOC_C
20+
#include "alloc-override.c"
2021
#include "free.c"
2122
#undef MI_IN_ALLOC_C
2223

compat/mimalloc/mimalloc.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,7 @@ terms of the MIT license. A copy of the license can be found in the file
9595
// Includes
9696
// ------------------------------------------------------
9797

98-
#include "git-compat-util.h"
99-
98+
#include <stddef.h> // size_t
10099
#include <stdbool.h> // bool
101100
#include <stdint.h> // INTPTR_MAX
102101

0 commit comments

Comments
 (0)