mirror of
https://git.freebsd.org/ports.git
synced 2025-06-26 23:20:30 -04:00
Build cross platform desktop apps with JavaScript, HTML, and CSS. It's easier than you think. If you can build a website, you can build a desktop app. Electron is a framework for creating native applications with web technologies like JavaScript, HTML, and CSS. It takes care of the hard parts so you can focus on the core of your application. WWW: https://electronjs.org/
11 lines
580 B
C++
11 lines
580 B
C++
--- base/process/memory.cc.orig 2022-10-24 13:33:33 UTC
|
|
+++ base/process/memory.cc
|
|
@@ -28,7 +28,7 @@ namespace base {
|
|
// Defined in memory_mac.mm for macOS + use_allocator="none". In case of
|
|
// USE_PARTITION_ALLOC_AS_MALLOC, no need to route the call to the system
|
|
// default calloc of macOS.
|
|
-#if !BUILDFLAG(IS_APPLE) || BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC)
|
|
+#if (!BUILDFLAG(IS_APPLE) && !BUILDFLAG(IS_BSD)) || BUILDFLAG(USE_PARTITION_ALLOC_AS_MALLOC)
|
|
|
|
bool UncheckedCalloc(size_t num_items, size_t size, void** result) {
|
|
const size_t alloc_size = num_items * size;
|