renderer: fixed strtol error detection bug in freebsd
renderer: fixed strtol error detection bug in freebsd

it seems that error detection for strtol using errno is a glibc
extension.

rafaelmartins/blogc,rafaelmartins/blogc,rafaelmartins/blogc,blogc/blogc,blogc/blogc,blogc/blogc