summaryrefslogtreecommitdiff
path: root/sem_timedwait.c
diff options
context:
space:
mode:
authorrpj <rpj>2011-03-09 06:51:54 +0000
committerrpj <rpj>2011-03-09 06:51:54 +0000
commiteb28d5aa00690b67cc27e4bd93d2c4c251987c85 (patch)
tree5db601315a671a52c816006733846008e7d3981c /sem_timedwait.c
parent2c51bb3337275e134e8c40db6dd4eea9407c8bca (diff)
*** empty log message ***
Diffstat (limited to 'sem_timedwait.c')
-rw-r--r--sem_timedwait.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sem_timedwait.c b/sem_timedwait.c
index 52146b4..1db6217 100644
--- a/sem_timedwait.c
+++ b/sem_timedwait.c
@@ -185,7 +185,7 @@ sem_timedwait (sem_t * sem, const struct timespec *abstime)
cleanup_args.sem = s;
cleanup_args.resultPtr = &result;
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && _MSC_VER < 800
#pragma inline_depth(0)
#endif
/* Must wait */
@@ -195,7 +195,7 @@ sem_timedwait (sem_t * sem, const struct timespec *abstime)
#endif
result = pthreadCancelableTimedWait (s->sem, milliseconds);
pthread_cleanup_pop(result);
-#ifdef _MSC_VER
+#if defined(_MSC_VER) && _MSC_VER < 800
#pragma inline_depth()
#endif