OS X 10.9: add intercepts for
libsystem_platform.dylib : _platform_strchr
libsystem_c.dylib : strlen
libsystem_platform.dylib : _platform_strcmp



git-svn-id: svn://svn.valgrind.org/valgrind/trunk@14073 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/shared/vg_replace_strmem.c b/shared/vg_replace_strmem.c
index a6bde65..0e071f0 100644
--- a/shared/vg_replace_strmem.c
+++ b/shared/vg_replace_strmem.c
@@ -238,12 +238,10 @@
 # endif
 
 #elif defined(VGO_darwin)
- //STRCHR(VG_Z_LIBC_SONAME,          strchr)
- //STRCHR(VG_Z_LIBC_SONAME,          index)
- //STRCHR(VG_Z_DYLD,                 strchr)
- //STRCHR(VG_Z_DYLD,                 index)
  STRCHR(VG_Z_LIBC_SONAME, strchr)
-
+# if DARWIN_VERS == DARWIN_10_9
+  STRCHR(libsystemZuplatformZddylib, _platform_strchr)
+# endif
 #endif
 
 
@@ -422,9 +420,10 @@
 # endif
 
 #elif defined(VGO_darwin)
- //STRLEN(VG_Z_LIBC_SONAME,          strlen)
  STRLEN(VG_Z_LIBC_SONAME, strlen)
-
+# if DARWIN_VERS == DARWIN_10_9
+  STRLEN(libsystemZucZddylib, strlen)
+# endif
 #endif
 
 
@@ -760,8 +759,10 @@
 # endif
 
 #elif defined(VGO_darwin)
- //STRCMP(VG_Z_LIBC_SONAME,          strcmp)
  STRCMP(VG_Z_LIBC_SONAME, strcmp)
+# if DARWIN_VERS == DARWIN_10_9
+  STRCMP(libsystemZuplatformZddylib, _platform_strcmp)
+# endif
 
 #endif