summaryrefslogtreecommitdiff
path: root/sem_wait.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 /sem_wait.c
parentb83397a7653646e1c23512ba8be9f4ee07e2c0f4 (diff)
Fix MSC_VER related to item 2 in BUGSHEADoriginmaster
Diffstat (limited to 'sem_wait.c')
-rw-r--r--sem_wait.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sem_wait.c b/sem_wait.c
index 966afe6..50c11d8 100644
--- a/sem_wait.c
+++ b/sem_wait.c
@@ -139,7 +139,7 @@ sem_wait (sem_t * sem)
if (v < 0)
{
-#if defined(_MSC_VER) && _MSC_VER < 800
+#if defined(_MSC_VER) && _MSC_VER < 1400
#pragma inline_depth(0)
#endif
/* Must wait */
@@ -147,7 +147,7 @@ sem_wait (sem_t * sem)
result = pthreadCancelableWait (s->sem);
/* Cleanup if we're canceled or on any other error */
pthread_cleanup_pop(result);
-#if defined(_MSC_VER) && _MSC_VER < 800
+#if defined(_MSC_VER) && _MSC_VER < 1400
#pragma inline_depth()
#endif
}