mirror of
https://github.com/rfc1036/whois.git
synced 2026-08-01 07:20:13 +00:00
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:
parent
d4d7cd1096
commit
c12ad950fa
4
config.h
4
config.h
@ -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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user