Skip to content

Commit 8e4230a

Browse files
committed
Merge branch 'dev' into dev3
2 parents 30b2d9d + 64b0a02 commit 8e4230a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

include/mimalloc.h

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

98-
#include <stddef.h> // size_t
98+
#include <stddef.h> // size_t, wchar_t
9999
#include <stdbool.h> // bool
100100

101101
#ifdef __cplusplus
@@ -536,7 +536,6 @@ mi_decl_export void mi_free_aligned(void* p, size_t alignment)
536536
mi_decl_export int mi_dupenv_s(char** buf, size_t* size, const char* name) mi_attr_noexcept;
537537

538538
// wide characters
539-
#include <wchar.h> // wchar_t
540539
mi_decl_export int mi_wdupenv_s(wchar_t** buf, size_t* size, const wchar_t* name) mi_attr_noexcept;
541540
mi_decl_nodiscard mi_decl_export mi_decl_restrict wchar_t* mi_wcsdup(const wchar_t* s) mi_attr_noexcept mi_attr_malloc;
542541
mi_decl_nodiscard mi_decl_export mi_decl_restrict unsigned char* mi_mbsdup(const unsigned char* s) mi_attr_noexcept mi_attr_malloc;

0 commit comments

Comments
 (0)