]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Darwin: Fix a compiler warning
authorBart Van Assche <bvanassche@acm.org>
Sun, 10 Mar 2013 12:49:08 +0000 (12:49 +0000)
committerBart Van Assche <bvanassche@acm.org>
Sun, 10 Mar 2013 12:49:08 +0000 (12:49 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@13319

coregrind/m_syswrap/syswrap-darwin.c

index 2e6852e34fc15c29268569639fd692cebeddb14f..b0b158393b39e75b4d6ac23fa24f8afc09e175c4 100644 (file)
@@ -7747,6 +7747,7 @@ PRE(thread_fast_set_cthread_self)
 }
 
 
+#if DARWIN_VERS >= DARWIN_10_7
 /* ---------------------------------------------------------------------
    Added for OSX 10.7 (Lion)
    ------------------------------------------------------------------ */
@@ -7761,6 +7762,7 @@ POST(getaudit_addr)
 {
    POST_MEM_WRITE(ARG1, ARG2);
 }
+#endif
 
 PRE(psynch_mutexwait)
 {