diff options
author | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-10-09 12:46:12 +0200 |
---|---|---|
committer | Tim Rühsen <tim.ruehsen@gmx.de> | 2018-10-09 12:46:51 +0200 |
commit | b433d140c0be0ffbb5018dec3c3b502f9fe20884 (patch) | |
tree | 6ae0d7589b762b96cd55a897157ec82ea04f86d2 /tests | |
parent | 42cc349feba90ab37143937a9165d3d87a2a5927 (diff) | |
download | gnutls-b433d140c0be0ffbb5018dec3c3b502f9fe20884.tar.gz |
Fix check for GNU C compiler in eina_cpu.ctmp-fix-eina-cpu-on-solaris
Signed-off-by: Tim Rühsen <tim.ruehsen@gmx.de>
Diffstat (limited to 'tests')
-rw-r--r-- | tests/suite/ecore/src/lib/eina_cpu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/suite/ecore/src/lib/eina_cpu.c b/tests/suite/ecore/src/lib/eina_cpu.c index bb99f7d8e8..d50506a03e 100644 --- a/tests/suite/ecore/src/lib/eina_cpu.c +++ b/tests/suite/ecore/src/lib/eina_cpu.c @@ -24,7 +24,7 @@ #ifdef _WIN32 #define WIN32_LEAN_AND_MEAN #include <windows.h> -#elif defined (__SUNPRO_C) || defined(__GNU__) +#elif defined (__SUNPRO_C) || defined(__GNUC__) #include <unistd.h> #elif defined (__FreeBSD__) || defined (__OpenBSD__) || \ defined (__NetBSD__) || defined (__DragonFly__) || defined (__MacOSX__) || \ @@ -86,7 +86,7 @@ EAPI int eina_cpu_count(void) GetSystemInfo(&sysinfo); return sysinfo.dwNumberOfProcessors; -#elif defined (__SUNPRO_C) || defined(__GNU__) +#elif defined (__SUNPRO_C) || defined(__GNUC__) /* * _SC_NPROCESSORS_ONLN: number of processors that are online, that is available when sysconf is called. The number |