diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/CMakePresets.json | 9 | ||||
-rw-r--r-- | source/core/StarMemory.cpp | 2 |
2 files changed, 10 insertions, 1 deletions
diff --git a/source/CMakePresets.json b/source/CMakePresets.json index e337b53..e3f96c2 100644 --- a/source/CMakePresets.json +++ b/source/CMakePresets.json @@ -52,6 +52,7 @@ "displayName": "Linux x64", "binaryDir": "${sourceParentDir}/build/linux-release", "cacheVariables": { + "CMAKE_MAKE_PROGRAM": "ninja", "CMAKE_BUILD_TYPE": "Release", "VCPKG_TARGET_TRIPLET": "x64-linux-mixed", "CMAKE_INCLUDE_PATH": "${sourceParentDir}/lib/linux/include", @@ -62,6 +63,10 @@ "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "Linux" ] + }, + "microsoft.com/VisualStudioRemoteSettings/CMake/2.0": { + "sourceRootDir": "$ms{localSourceDir}\\..", + "remoteSourceRootDir": "$env{HOME}/.vs/wsl" } } }, @@ -94,6 +99,10 @@ "vendor": { "microsoft.com/VisualStudioSettings/CMake/1.0": { "hostOS": [ "macOS" ] + }, + "microsoft.com/VisualStudioRemoteSettings/CMake/2.0": { + "sourceRootDir": "$ms{localSourceDir}\\..", + "remoteSourceRootDir": "$env{HOME}/.vs/wsl" } } }, diff --git a/source/core/StarMemory.cpp b/source/core/StarMemory.cpp index dc13d08..6ecc509 100644 --- a/source/core/StarMemory.cpp +++ b/source/core/StarMemory.cpp @@ -51,7 +51,7 @@ namespace Star { void free(void* ptr, size_t size) { if (ptr) - je_sdallocx(ptr, size, 0); + ::sdallocx(ptr, size, 0); } #endif #elif STAR_USE_MIMALLOC |