chiark / gitweb /
shared/musl_missing.h: replace ifdef with if on HAVE_[__]SECURE_GETENV
authormaxice8 <thinkabit.ukim@gmail.com>
Tue, 16 Jan 2018 10:25:32 +0000 (08:25 -0200)
committerSven Eden <yamakuzure@gmx.net>
Wed, 24 Jan 2018 12:22:41 +0000 (13:22 +0100)
commit047b54346db53a6144172f6c2fd05e329ad39913
tree2ee2a2f959d0f13406eee9f444998bf28a441e0d
parent80e6b5cf89054ee5d5676bc75514926698d61e73
shared/musl_missing.h: replace ifdef with if on HAVE_[__]SECURE_GETENV

now meson defines itself on config.h HAVE_[__]SECURE_GETENV, instead of
checking if it is defined, check if it set to false value.

also undefine before redefining it to true.
src/shared/musl_missing.h