mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-30 20:35:49 +01:00
Fixed a few improper macro usages
Added compiler checks for some improper macro usage and fixed the problems pointed by gcc. Signed-off-by: Christophe CURIS <christophe.curis@free.fr>
This commit is contained in:
committed by
Carlos R. Mafra
parent
0faff93cf7
commit
5770e53c50
@@ -71,7 +71,7 @@ int main(int argc, char *argv[])
|
||||
path = getenv("PATH");
|
||||
setlocale(LC_ALL, "");
|
||||
|
||||
#if HAVE_LIBINTL_H && I18N
|
||||
#if defined(HAVE_LIBINTL_H) && defined(I18N)
|
||||
if (getenv("NLSPATH"))
|
||||
bindtextdomain("wmgenmenu", getenv("NLSPATH"));
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user