WINGs: Simplify use of HAVE_SECURE_GETENV
commitc060477d57ec5a7d3a7c5f6c78d8a613fc068aa4
authorJohn D Pell <john@pell.cc>
Sun, 8 Aug 2021 07:36:09 +0000 (8 09:36 +0200)
committerCarlos R. Mafra <crmafra@gmail.com>
Tue, 10 Aug 2021 08:42:43 +0000 (10 09:42 +0100)
tree4e12f9c54c8d1bd53421f3be099626923a39a714
parent75f133285fbef7c42b09b7795646839260674e5b
WINGs: Simplify use of HAVE_SECURE_GETENV

Define the macro GETENV(x) instead of sprinkling code with #ifdef HAVE_SECURE_GETENV
everytime we want to use it.
WINGs/findfile.c
WINGs/userdefaults.c
WINGs/wconfig.h