Skip to content

Commit 027069b

Browse files
authored
Merge pull request #3211 from compnerd/windows-stubs
2 parents 24a5b12 + b5893cd commit 027069b

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

stdlib/public/stubs/LibcShims.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ size_t swift::_swift_stdlib_malloc_size(const void *ptr) {
9393
}
9494
#elif defined(_MSC_VER)
9595
#include <malloc.h>
96-
size_t _swift_stdlib_malloc_size(const void *ptr) {
96+
size_t swift::_swift_stdlib_malloc_size(const void *ptr) {
9797
return _msize(const_cast<void *>(ptr));
9898
}
9999
#elif defined(__FreeBSD__)

stdlib/public/stubs/UnicodeExtendedGraphemeClusters.cpp.gyb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,7 @@ const uint16_t _swift_stdlib_ExtendedGraphemeClusterNoBoundaryRulesMatrixImpl[]
131131
% end
132132
};
133133
134+
extern "C"
134135
SWIFT_RUNTIME_STDLIB_INTERFACE
135136
const uint16_t *_swift_stdlib_ExtendedGraphemeClusterNoBoundaryRulesMatrix =
136137
_swift_stdlib_ExtendedGraphemeClusterNoBoundaryRulesMatrixImpl;

0 commit comments

Comments
 (0)