X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/bdfe4f8674f98efbf2d67ad854ef83a1d5f855ed..72524c346ddad2bbb97217cf981a423676353b6b:/src/xbt/xbt_sg_stubs.c diff --git a/src/xbt/xbt_sg_stubs.c b/src/xbt/xbt_sg_stubs.c index cfac69c26f..cfb2feac2b 100644 --- a/src/xbt/xbt_sg_stubs.c +++ b/src/xbt/xbt_sg_stubs.c @@ -2,27 +2,27 @@ /* This is always part of SG, never of RL. Content: */ /* - a bunch of stub functions of the thread related function that we need */ -/* to add to the lib to please the linker when using ucontextes. */ +/* to add to the lib to please the linker when using ucontexts. */ /* - a bunch of stub functions of the java related function when we don't */ /* compile java bindings. */ /* In RL, java is useless, and threads are always part of the picture, */ /* ucontext never */ -/* Copyright (c) 2007-2010. The SimGrid Team. +/* Copyright (c) 2007-2010, 2013-2014. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include "xbt_modinter.h" +#include "src/xbt_modinter.h" #include "xbt/sysdep.h" #include "xbt/xbt_os_thread.h" -#include "portable.h" /* CONTEXT_THREADS */ +#include "src/portable.h" /* HAVE_THREAD_CONTEXTS */ -#ifndef CONTEXT_THREADS +#ifndef HAVE_THREAD_CONTEXTS #ifndef WIN32 -#ifdef HAVE_PTHREAD_H +#ifdef HAVE_PTHREAD /* xbt_threads is loaded in libsimgrid when they are used to implement the xbt_context. * The decision (and the loading) is made in xbt/context.c. */