diff options
Diffstat (limited to 'pthread_rwlock_wrlock.c')
-rw-r--r-- | pthread_rwlock_wrlock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread_rwlock_wrlock.c b/pthread_rwlock_wrlock.c index 174fcbc..170ec1a 100644 --- a/pthread_rwlock_wrlock.c +++ b/pthread_rwlock_wrlock.c @@ -100,7 +100,7 @@ pthread_rwlock_wrlock (pthread_rwlock_t * rwlock) * This routine may be a cancelation point * according to POSIX 1003.1j section 18.1.2. */ -#ifdef _MSC_VER +#if defined(_MSC_VER) && _MSC_VER < 800 #pragma inline_depth(0) #endif pthread_cleanup_push (ptw32_rwlock_cancelwrwait, (void *) rwl); @@ -113,7 +113,7 @@ pthread_rwlock_wrlock (pthread_rwlock_t * rwlock) while (result == 0 && rwl->nCompletedSharedAccessCount < 0); pthread_cleanup_pop ((result != 0) ? 1 : 0); -#ifdef _MSC_VER +#if defined(_MSC_VER) && _MSC_VER < 800 #pragma inline_depth() #endif |