diff options
Diffstat (limited to 'pthread_rwlock_timedwrlock.c')
-rw-r--r-- | pthread_rwlock_timedwrlock.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/pthread_rwlock_timedwrlock.c b/pthread_rwlock_timedwrlock.c index 5de1e48..36f7e41 100644 --- a/pthread_rwlock_timedwrlock.c +++ b/pthread_rwlock_timedwrlock.c @@ -104,7 +104,7 @@ pthread_rwlock_timedwrlock (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); @@ -119,7 +119,7 @@ pthread_rwlock_timedwrlock (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 |