]> git.draconx.ca Git - upkg.git/commit
Work around missing SIZE_MAX.
authorNick Bowler <nbowler@draconx.ca>
Sun, 27 Feb 2022 19:44:11 +0000 (14:44 -0500)
committerNick Bowler <nbowler@draconx.ca>
Sun, 27 Feb 2022 20:17:42 +0000 (15:17 -0500)
commit84b8b056cfbc91dc6d8d29bb40b04afb3a282cbc
treedab5544f980fe4d96ca1c8278e1aeb64e1002350
parentd2b086b113f4bc1d7a247cd1ec4301211f87964d
Work around missing SIZE_MAX.

Older library implementations lack this macro.  Outside of an #if
directive the expression (size_t)-1 is equivalent so we can define
a fallback easily enough.
src/engine/mesh.gob
src/uobject/uobject.c