Closed illfygli closed 2 years ago
@illfygli You should use WEBKIT_CHECK_VERSION(2, 30, 0)
which evaluates to true is the version is at least 2.30.0 https://webkitgtk.org/reference/webkit2gtk/stable/webkit2gtk-4.0-WebKitVersion.html#WEBKIT-CHECK-VERSION:CAPS
Thanks, updated.
@illfygli Thank you!
Please let me know if I got the version checks right. I could only find examples of checking the runtime version in vimb, but the ITP functions were introduced in 2.30 and I guess compilation would fail if I don't check the compile-time version.