]> sipb.mit.edu Git - ikiwiki.git/commit
use __TINYC__ define to avoid tinyc compat fixes breaking FreeBSD
authorJoey Hess <joey@gnu.kitenet.net>
Sun, 28 Mar 2010 22:27:23 +0000 (18:27 -0400)
committerJoey Hess <joey@gnu.kitenet.net>
Sun, 28 Mar 2010 22:27:23 +0000 (18:27 -0400)
commit0c6e467aa6931ec6bd7720ecaea5e33aeca4d1be
treec71617f6e0570f0aa66857f1da7855c780f56520
parent7e9d1932a2b90d5092315c18603cf495da28d6da
use __TINYC__ define to avoid tinyc compat fixes breaking FreeBSD

To review, tcc does not really use environ, so you have to use clearenv
there. But POSIX, in their wisdom, didn't standardise clearenv yet,
so on FreeBSD, one still needs to manipulate environ on their own.

(If you use tcc on FreeBSD, this may leave you unsatisfied.)
IkiWiki/Wrapper.pm
doc/bugs/clearenv_not_present_at_FreeBSD_.mdwn