From 473862a01b8ed9fef234c9f2f0eb1d087f57d974 Mon Sep 17 00:00:00 2001 From: rpj Date: Wed, 6 Jul 2011 01:07:08 +0000 Subject: Fix MSC_VER related to item 2 in BUGS --- pthread_rwlock_wrlock.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'pthread_rwlock_wrlock.c') diff --git a/pthread_rwlock_wrlock.c b/pthread_rwlock_wrlock.c index 170ec1a..e8b4fbb 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. */ -#if defined(_MSC_VER) && _MSC_VER < 800 +#if defined(_MSC_VER) && _MSC_VER < 1400 #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); -#if defined(_MSC_VER) && _MSC_VER < 800 +#if defined(_MSC_VER) && _MSC_VER < 1400 #pragma inline_depth() #endif -- cgit v1.2.3