From 1a8827364b0c5218665c438e25e746ecb3a5c152 Mon Sep 17 00:00:00 2001 From: mquinson Date: Thu, 11 Feb 2010 14:24:44 +0000 Subject: [PATCH] Somehow integrate ruby to the library. That's ... crude, but I don't feel like changing cmake and/or autotools right now git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@7084 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- src/simix/smx_context.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/simix/smx_context.c b/src/simix/smx_context.c index c2c5b5f9bd..ac7c324808 100644 --- a/src/simix/smx_context.c +++ b/src/simix/smx_context.c @@ -10,6 +10,11 @@ #include "xbt/log.h" #include "xbt/swag.h" #include "private.h" +#define HAVE_RUBY /* HACK HACK */ + +#ifdef HAVE_RUBY +extern void SIMIX_ctx_ruby_factory_init(smx_context_factory_t *factory); +#endif XBT_LOG_NEW_DEFAULT_SUBCATEGORY(simix_context, simix, "Context switching mecanism"); -- 2.20.1