summaryrefslogtreecommitdiff
path: root/pthread_rwlock_wrlock.c
diff options
context:
space:
mode:
authorrpj <rpj>2011-07-06 01:07:08 +0000
committerrpj <rpj>2011-07-06 01:07:08 +0000
commit473862a01b8ed9fef234c9f2f0eb1d087f57d974 (patch)
tree40d4045c3d077e559d881a8cef3b0711d7521bea /pthread_rwlock_wrlock.c
parentb83397a7653646e1c23512ba8be9f4ee07e2c0f4 (diff)
Fix MSC_VER related to item 2 in BUGSHEADoriginmaster
Diffstat (limited to 'pthread_rwlock_wrlock.c')
-rw-r--r--pthread_rwlock_wrlock.c4
1 files changed, 2 insertions, 2 deletions
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