When this function has been added to our bundled GD[1], it had been overlooked to also declare it in gd.h, like it's done in libgd. While MSVC doesn't have any issues with this, clang reports an error. [1] <03bd4333f6>
03bd4333f6