projects
/
framework
/
uifw
/
eina.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce1f81e
)
support of Debian/kFreeBSD (FreeBSD using the glibc on top of a FreeBSD kernel)
author
caro
<caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 20 Dec 2009 10:02:41 +0000
(10:02 +0000)
committer
caro
<caro@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Sun, 20 Dec 2009 10:02:41 +0000
(10:02 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/eina@44597
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/eina_cpu.c
patch
|
blob
|
history
diff --git
a/src/lib/eina_cpu.c
b/src/lib/eina_cpu.c
index
6ae5fa8
..
82e4c98
100644
(file)
--- a/
src/lib/eina_cpu.c
+++ b/
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;