diff options
author | rpj <rpj> | 2011-03-09 06:51:54 +0000 |
---|---|---|
committer | rpj <rpj> | 2011-03-09 06:51:54 +0000 |
commit | eb28d5aa00690b67cc27e4bd93d2c4c251987c85 (patch) | |
tree | 5db601315a671a52c816006733846008e7d3981c /pthread_rwlock_wrlock.c | |
parent | 2c51bb3337275e134e8c40db6dd4eea9407c8bca (diff) |
*** empty log message ***
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 |