src/misc.c: HAVE_UNAME wasn't used

This commit is contained in:
Christophe Grenier 2014-03-16 19:25:41 +01:00
parent 96ed018176
commit 6d89d174d7

View file

@ -158,7 +158,7 @@ http://msdn.microsoft.com/library/default.asp?url=/library/en-us/sysinfo/base/ge
}
#elif defined(DJGPP)
return "DOS";
#elif defined(HAVE_SYS_UTSNAME_H)
#elif defined(HAVE_SYS_UTSNAME_H) && defined(HAVE_UNAME)
{
struct utsname Ver;
if(uname(&Ver)==0)