]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Fix the regression from r15518 which broke builds
authorIvo Raisr <ivosh@ivosh.net>
Wed, 12 Aug 2015 16:03:16 +0000 (16:03 +0000)
committerIvo Raisr <ivosh@ivosh.net>
Wed, 12 Aug 2015 16:03:16 +0000 (16:03 +0000)
on older Solaris releases.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@15530

coregrind/m_syswrap/syswrap-solaris.c

index 027325670321bcf872d7e9f76472ba152f81eab3..cd6370db0631ecb15e022288c54574bb9c2e9154 100644 (file)
@@ -7820,6 +7820,7 @@ static void repository_door_pre_mem_door_call_hook(ThreadId tid, Int fd,
                            "entity_name->rpr_answertype)", r->rpr_answertype);
          }
          break;
+      #if (SOLARIS_REPCACHE_PROTOCOL_VERSION >= 25)
       case VKI_REP_PROTOCOL_ENTITY_GET_ROOT:
          {
             struct vki_rep_protocol_entity_root *r =
@@ -7830,6 +7831,7 @@ static void repository_door_pre_mem_door_call_hook(ThreadId tid, Int fd,
                            "entity_root->rpr_outid)", r->rpr_outid);
          }
          break;
+      #endif /* SOLARIS_REPCACHE_PROTOCOL_VERSION >= 25 */
       case VKI_REP_PROTOCOL_ENTITY_GET:
          {
             struct vki_rep_protocol_entity_get *r =