From c12ad950fa1087acabc4056829cce73d9b29c4d8 Mon Sep 17 00:00:00 2001 From: Marco d'Itri Date: Sun, 16 Sep 2018 03:57:31 +0200 Subject: [PATCH] config.h: fix the usage of __GLIBC__ vs. linux gettext is a feature of the libc, while /dev/random is a feature of Linux. --- config.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config.h b/config.h index be20c33..be0aba4 100644 --- a/config.h +++ b/config.h @@ -17,7 +17,7 @@ # include #endif -#ifdef linux +#ifdef __GLIBC__ # define ENABLE_NLS #endif @@ -67,7 +67,7 @@ * and add more systems which have one. */ #ifdef RANDOM_DEVICE -#elif defined __GLIBC__ \ +#elif defined linux \ || defined __FreeBSD__ || defined __NetBSD__ || defined __OpenBSD__ \ /* AIX >= 5.2? */ \ || defined _AIX52 \