1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-24 04:33:24 +00:00
freebsd-ports/games/dangerdeep/files/patch-src__condvar.h
William Grzybowski 5f7eb4f449 games/dangerdeep: support stage
- Fix build on 10

PR:		192585
Submitted by:	christian.mangin gmail com
2014-08-12 16:26:34 +00:00

19 lines
711 B
C

--- ./src/condvar.h.orig 2007-06-11 11:16:23.000000000 -0400
+++ ./src/condvar.h 2014-08-11 09:56:15.000000000 -0400
@@ -43,13 +43,13 @@
/// wait on condition
///@param m - mutex to encapsulate waiting condition
- void wait(mutex& m);
+ void wait(::mutex& m);
/// wait on condition with timeout
///@param m - mutex to encapsulate waiting condition
///@param ms - timeout value in milliseconds
///@return true when woken up by signal, false on timeout
- bool timed_wait(mutex& m, unsigned ms);
+ bool timed_wait(::mutex& m, unsigned ms);
/// send signal to threads that are waiting on the condition.
///@note Note that before sending the signal you must make the condition false that would