mirror of
https://git.freebsd.org/ports.git
synced 2025-04-30 10:36:38 -04:00
Security: https://vuxml.freebsd.org/freebsd/2a3be628-ef6e-11ef-85f3-a8a1599412c6.html Security: https://vuxml.freebsd.org/freebsd/f572b9d1-ef6d-11ef-85f3-a8a1599412c6.html Security: https://vuxml.freebsd.org/freebsd/b09d0b3b-ef6d-11ef-85f3-a8a1599412c6.html
20 lines
805 B
C
20 lines
805 B
C
--- base/synchronization/cancelable_event.h.orig 2025-02-19 07:43:18 UTC
|
|
+++ base/synchronization/cancelable_event.h
|
|
@@ -11,7 +11,7 @@
|
|
|
|
#if BUILDFLAG(IS_WIN)
|
|
#include <windows.h>
|
|
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS)
|
|
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_BSD)
|
|
#include <semaphore.h>
|
|
#else
|
|
#include "base/synchronization/waitable_event.h"
|
|
@@ -49,7 +49,7 @@ class BASE_EXPORT CancelableEvent {
|
|
|
|
#if BUILDFLAG(IS_WIN)
|
|
using NativeHandle = HANDLE;
|
|
-#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID)
|
|
+#elif BUILDFLAG(IS_LINUX) || BUILDFLAG(IS_CHROMEOS) || BUILDFLAG(IS_ANDROID) || BUILDFLAG(IS_BSD)
|
|
using NativeHandle = sem_t;
|
|
#else
|
|
using NativeHandle = WaitableEvent;
|