commit | 6b241f3786685fbe63cf20906ab2019980869217 | [log] [tgz] |
---|---|---|
author | Cosmin Truta <ctruta@gmail.com> | Fri Jan 12 01:12:08 2024 +0200 |
committer | Cosmin Truta <ctruta@gmail.com> | Fri Jan 12 01:12:08 2024 +0200 |
tree | 07d0c11630d93cff0996b12e715c2f1eafc01ecb | |
parent | b3521c60af03d8adcc5f3b0f6b6555e71315586a [diff] |
Do not rely on `INT_MAX` in png.h At a certain step in the configuration process, `gcc -Wundef` complained about using `INT_MAX` without a definition in png.h, which is easily fixable with an include. We would rather not add any extra dependencies to png.h, however, so we use some unsigned int arithmetic magic instead.