<p>Ok they have been guarded under</p>
<div class="highlight highlight-source-c++"><pre>#<span class="pl-k">if</span> LIBGIT2_VER_MAJOR == 0 && LIBGIT2_VER_MINOR >= 28
<span class="pl-c"><span class="pl-c">/*</span> new api <span class="pl-c">*/</span></span>
#<span class="pl-k">else</span> 
<span class="pl-c"><span class="pl-c">/*</span> old api <span class="pl-c">*/</span></span>
#<span class="pl-k">endif</span> </pre></div>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/geany/geany-plugins/pull/821#issuecomment-462739007">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/ABDrJyC1nO6VvaLnvo3ypMRNPtJXK8SQks5vMrHSgaJpZM4a1b6z">mute the thread</a>.<img src="https://github.com/notifications/beacon/ABDrJ7TfA3kB_p_22bafE86XSMOWrJm9ks5vMrHSgaJpZM4a1b6z.gif" height="1" width="1" alt="" /></p>
<script type="application/json" data-scope="inboxmarkup">{"api_version":"1.0","publisher":{"api_key":"05dde50f1d1a384dd78767c55493e4bb","name":"GitHub"},"entity":{"external_key":"github/geany/geany-plugins","title":"geany/geany-plugins","subtitle":"GitHub repository","main_image_url":"https://github.githubassets.com/images/email/message_cards/header.png","avatar_image_url":"https://github.githubassets.com/images/email/message_cards/avatar.png","action":{"name":"Open in GitHub","url":"https://github.com/geany/geany-plugins"}},"updates":{"snippets":[{"icon":"PERSON","message":"@maxice8 in #821: Ok they have been guarded under\r\n\r\n```cpp\r\n#if LIBGIT2_VER_MAJOR == 0 \u0026\u0026 LIBGIT2_VER_MINOR \u003e= 28\r\n/* new api */\r\n#else \r\n/* old api */\r\n#endif \r\n```"}],"action":{"name":"View Pull Request","url":"https://github.com/geany/geany-plugins/pull/821#issuecomment-462739007"}}}</script>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/geany/geany-plugins/pull/821#issuecomment-462739007",
"url": "https://github.com/geany/geany-plugins/pull/821#issuecomment-462739007",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>