projects
/
profile
/
ivi
/
eina.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a13872f
)
eina: correct guard of thread code.
author
cedric
<cedric>
Tue, 9 Aug 2011 08:46:29 +0000
(08:46 +0000)
committer
cedric
<cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 9 Aug 2011 08:46:29 +0000
(08:46 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@62238
7cbeb6ba
-43b4-40fd-8cce-
4c39aea84d33
src/lib/eina_main.c
patch
|
blob
|
history
diff --git
a/src/lib/eina_main.c
b/src/lib/eina_main.c
index
78adb93
..
c7ed73c
100644
(file)
--- a/
src/lib/eina_main.c
+++ b/
src/lib/eina_main.c
@@
-214,9
+214,12
@@
eina_init(void)
return 0;
}
-#if !(defined(_WIN32_WCE)) && !(defined(_WIN32))
+#ifdef EINA_HAVE_THREADS
+# if !(defined(_WIN32_WCE)) && !(defined(_WIN32))
_eina_main_loop = pthread_self();
+# endif
#endif
+
#ifdef EINA_HAVE_DEBUG_THREADS
pthread_mutex_init(&_eina_tracking_lock, NULL);