Changeset feadfb1e87e87c918358543aaee59760432f6350
- Timestamp:
- 09/16/07 09:49:52
(1 year ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1189928992 +0000
- git-parent:
[471bd1e4de2c67e853cf0e8b557a57328acfee14]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1189928992 +0000
- Message:
Fix condition variable clock ifdef
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r649f40a |
rfeadfb1 |
|
| 29 | 29 | #include "libvlc.h" |
|---|
| 30 | 30 | #include <assert.h> |
|---|
| | 31 | #ifdef HAVE_UNISTD_H |
|---|
| | 32 | # include <unistd.h> |
|---|
| | 33 | #endif |
|---|
| 31 | 34 | |
|---|
| 32 | 35 | #define VLC_THREADS_UNINITIALIZED 0 |
|---|
| … | … | |
| 465 | 468 | return ret; |
|---|
| 466 | 469 | |
|---|
| 467 | | # if defined (_POSIX_CLOCK_MONOTONIC) && (_POSIX_CLOCK_MONOTONIC >= 0) |
|---|
| | 470 | # if defined (_POSIX_MONOTONIC_CLOCK) && (_POSIX_MONOTONIC_CLOCK - 0 >= 0) |
|---|
| 468 | 471 | /* This must be the same clock as the one in mtime.c */ |
|---|
| 469 | 472 | pthread_condattr_setclock (&attr, CLOCK_MONOTONIC); |
|---|