projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfd91eb
)
support of Debian/kFreeBSD (FreeBSD using the glibc on top of a FreeBSD kernel)
author
Vincent Torri
<vincent.torri@gmail.com>
Sun, 20 Dec 2009 10:02:41 +0000
(10:02 +0000)
committer
Vincent Torri
<vincent.torri@gmail.com>
Sun, 20 Dec 2009 10:02:41 +0000
(10:02 +0000)
SVN revision: 44597
legacy/eina/src/lib/eina_cpu.c
patch
|
blob
|
history
diff --git
a/legacy/eina/src/lib/eina_cpu.c
b/legacy/eina/src/lib/eina_cpu.c
index
6ae5fa8
..
82e4c98
100644
(file)
--- a/
legacy/eina/src/lib/eina_cpu.c
+++ b/
legacy/eina/src/lib/eina_cpu.c
@@
-30,7
+30,7
@@
# include <unistd.h>
# include <sys/param.h>
# include <sys/sysctl.h>
-# elif defined (__linux__)
+# elif defined (__linux__)
|| defined(__GLIBC__)
# define _GNU_SOURCE
# include <sched.h>
# endif
@@
-164,7
+164,7
@@
EAPI int eina_cpu_count(void)
return cpus;
-# elif defined (__linux__)
+# elif defined (__linux__)
|| defined(__GLIBC__)
cpu_set_t cpu;
int i;
static int cpus = 0;