Vincent Béron vberon@mecano.gme.usherb.ca writes:
Would some kind of proxy function work here, which would be called only when compiling from source? And leave the present way of doing it for already compiled code?
We could probably implement it as an inline function, yes. The existing implementation wouldn't work as inline since it calls the libc div(), but reimplementing that shouldn't be too much trouble.