mirror of
https://git.freebsd.org/ports.git
synced 2025-05-07 19:30:46 -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/
24 lines
976 B
C++
24 lines
976 B
C++
--- v8/src/base/atomicops.h.orig 2023-10-19 20:00:30 UTC
|
|
+++ v8/src/base/atomicops.h
|
|
@@ -57,10 +57,10 @@ using Atomic64 = SbAtomic64;
|
|
using Atomic8 = char;
|
|
using Atomic16 = int16_t;
|
|
using Atomic32 = int32_t;
|
|
-#if defined(V8_HOST_ARCH_64_BIT)
|
|
+#if defined(V8_HOST_ARCH_64_BIT) || defined(V8_OS_OPENBSD)
|
|
// We need to be able to go between Atomic64 and AtomicWord implicitly. This
|
|
// means Atomic64 and AtomicWord should be the same type on 64-bit.
|
|
-#if defined(__ILP32__)
|
|
+#if defined(__ILP32__) && !defined(V8_OS_OPENBSD)
|
|
using Atomic64 = int64_t;
|
|
#else
|
|
using Atomic64 = intptr_t;
|
|
@@ -266,7 +266,7 @@ inline Atomic32 SeqCst_Load(volatile const Atomic32* p
|
|
std::memory_order_seq_cst);
|
|
}
|
|
|
|
-#if defined(V8_HOST_ARCH_64_BIT)
|
|
+#if defined(V8_HOST_ARCH_64_BIT) || defined(V8_OS_OPENBSD)
|
|
|
|
inline Atomic64 Relaxed_CompareAndSwap(volatile Atomic64* ptr,
|
|
Atomic64 old_value, Atomic64 new_value) {
|