diff options
Diffstat (limited to 'sem_timedwait.c')
-rw-r--r-- | sem_timedwait.c | 4 |
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 |