From: Gustavo Sverzut Barbieri Date: Mon, 4 Jan 2010 21:50:31 +0000 (+0000) Subject: Fix compile on GNU/Hurd, by Lutin. X-Git-Tag: submit/devel/efl/20131022.203902~14533 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=db52717d8882707f3aa31d47cce705a4ef615688;p=platform%2Fupstream%2Fefl.git Fix compile on GNU/Hurd, by Lutin. SVN revision: 44898 --- diff --git a/legacy/eina/src/lib/eina_cpu.c b/legacy/eina/src/lib/eina_cpu.c index 82e4c98..3b93a4a 100644 --- a/legacy/eina/src/lib/eina_cpu.c +++ b/legacy/eina/src/lib/eina_cpu.c @@ -24,7 +24,7 @@ # ifdef _WIN32 # define WIN32_LEAN_AND_MEAN # include -# elif defined (__SUNPRO_C) +# elif defined (__SUNPRO_C) || defined(__GNU__) # include # elif defined (__FreeBSD__) || defined (__OpenBSD__) || defined (__NetBSD__) || defined (__DragonFly__) || defined (__MacOSX__) || ( defined (__MACH__) && defined (__APPLE__)) # include @@ -133,7 +133,7 @@ EAPI int eina_cpu_count(void) GetSystemInfo(&sysinfo); return sysinfo.dwNumberOfProcessors; -# elif defined (__SUNPRO_C) +# elif defined (__SUNPRO_C) || defined(__GNU__) /* * _SC_NPROCESSORS_ONLN: number of processors that are online, that is available when sysconf is called. The number