bitbank2 / giflib-turbo

A faster drop-in replacement for giflib. It uses more RAM, but you get more speed.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Deprecated usage of S_IREAD and S_IWRITE

edelkas opened this issue · comments

For anyone having issues with undeclared constants S_IREAD and S_IWRITE, simply swap them in the gif_lib.c code by S_IRUSR and S_IWUSR, respectively, and that ought to solve it.

Not sure if there's any particular reason why they're being used here. The glibc docs suggest they're only there for obsolete compatibility with BSD systems.

Can you please create a PR which uses #ifdef to redefine these for compatibility?