Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix conditional includes. Check I'm right please.
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 25 Sep 2007 14:09:40 +0000 (14:09 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Tue, 25 Sep 2007 14:09:40 +0000 (14:09 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4718 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/xbt/context_private.h

index 37cb7ea..5c234e6 100644 (file)
@@ -21,7 +21,7 @@
 #include "xbt/context.h"
 #include "xbt/ex.h"
 
-#ifdef CONTEXT_THREADS
+#if defined(JAVA_SIMGRID) || defined(CONTEXT_THREADS)
 #  include "xbt/xbt_os_thread.h"
 #else
 #  include <ucontext.h>