X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/aa4388c7780ebcbc130f17b5e473f4d356ec567f..c9a06d0b06fb32926954b78006bfe7f886aa757a:/src/simix/smx_context.c diff --git a/src/simix/smx_context.c b/src/simix/smx_context.c index 3b42c8203f..c3bc15520e 100644 --- a/src/simix/smx_context.c +++ b/src/simix/smx_context.c @@ -11,10 +11,6 @@ #include "xbt/swag.h" #include "private.h" -#ifdef HAVE_LUA -#include -#endif - XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_context, simix, "Context switching mecanism"); @@ -116,14 +112,6 @@ int SIMIX_context_select_factory(const char *name) THROW0(not_found_error, 0, "Factory 'sysv' does not exist: no System V thread support under Windows"); #endif - else if (!strcmp(name, "lua")) -#ifdef HAVE_LUA - SIMIX_ctx_lua_factory_init(factory); -#else - - THROW0(not_found_error, 0, - "Factory 'lua' does not exist: Lua support was not compiled in the SimGrid library"); -#endif /* HAVE_LUA */ else THROW1(not_found_error, 0, "Factory '%s' does not exist", name);