mirror of
https://git.freebsd.org/ports.git
synced 2025-07-05 03:19:18 -04:00
Approved by: rene (mentor) Security: https://vuxml.freebsd.org/freebsd/3d5581ff-d388-11ed-8581-a8a1599412c6.html Differential Revision: https://reviews.freebsd.org/D39432
37 lines
1.1 KiB
C
37 lines
1.1 KiB
C
--- v8/include/v8config.h.orig 2023-04-05 11:05:06 UTC
|
|
+++ v8/include/v8config.h
|
|
@@ -184,6 +184,8 @@ path. Add it with -I<path> to the command line
|
|
&& !defined(V8_TARGET_OS_FUCHSIA) \
|
|
&& !defined(V8_TARGET_OS_IOS) \
|
|
&& !defined(V8_TARGET_OS_LINUX) \
|
|
+ && !defined(V8_TARGET_OS_OPENBSD) \
|
|
+ && !defined(V8_TARGET_OS_FREEBSD) \
|
|
&& !defined(V8_TARGET_OS_MACOS) \
|
|
&& !defined(V8_TARGET_OS_WIN) \
|
|
&& !defined(V8_TARGET_OS_CHROMEOS)
|
|
@@ -196,6 +198,8 @@ path. Add it with -I<path> to the command line
|
|
|| defined(V8_TARGET_OS_FUCHSIA) \
|
|
|| defined(V8_TARGET_OS_IOS) \
|
|
|| defined(V8_TARGET_OS_LINUX) \
|
|
+ || defined(V8_TARGET_OS_OPENBSD) \
|
|
+ || defined(V8_TARGET_OS_FREEBSD) \
|
|
|| defined(V8_TARGET_OS_MACOS) \
|
|
|| defined(V8_TARGET_OS_WIN) \
|
|
|| defined(V8_TARGET_OS_CHROMEOS)
|
|
@@ -217,6 +221,16 @@ path. Add it with -I<path> to the command line
|
|
|
|
#ifdef V8_OS_LINUX
|
|
# define V8_TARGET_OS_LINUX
|
|
+#endif
|
|
+
|
|
+#ifdef V8_OS_OPENBSD
|
|
+# define V8_TARGET_OS_OPENBSD
|
|
+# define V8_TARGET_OS_BSD
|
|
+#endif
|
|
+
|
|
+#ifdef V8_OS_FREEBSD
|
|
+# define V8_TARGET_OS_OPENBSD
|
|
+# define V8_TARGET_OS_BSD
|
|
#endif
|
|
|
|
#ifdef V8_OS_MACOS
|