config.h: fix the usage of __GLIBC__ vs. linux

gettext is a feature of the libc, while /dev/random is a feature of Linux.
This commit is contained in:
Marco d'Itri 2018-09-16 03:57:31 +02:00
parent d4d7cd1096
commit c12ad950fa

View File

@ -17,7 +17,7 @@
# include <sys/param.h>
#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 \