From 596a21890fc3cae8f7ec57c76224b300c246ed1f Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Thu, 3 Feb 2011 17:04:43 +0100 Subject: [PATCH] Make build work with latest developments on simgrid-svn. --- Makefile | 2 +- simgrid_features.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 2760531..ff9ad97 100644 --- a/Makefile +++ b/Makefile @@ -96,7 +96,7 @@ $(FLAVOURED_LOBA): $(MAKE) clean misc_autogen.h: $(SIMGRID_INSTALL_DIR)/include/xbt/log.h - grep -C1 '# *define *CLOG' $< \ + grep '# *define *\(XBT_\)\?CLOG.*_XBT_LOGV' $< \ | sed 's/CLOG/XCLOG/;s/_XBT_LOGV\(([^)]*)\)/(*\1)/' > $@ version.o: $(patsubst %.cpp,%.o,$(filter-out version.cpp, $(SRC.loba))) diff --git a/simgrid_features.h b/simgrid_features.h index 8aef329..a12af19 100644 --- a/simgrid_features.h +++ b/simgrid_features.h @@ -6,7 +6,7 @@ // // Use some define introduced after that. fixme: dirty hack // -#if defined(XBT_RUNNING_CTX_INITIALIZER) +#if defined(SIMGRID_VERSION) # define MSG_WAIT_DESTROYS_COMMS 0 #else # define MSG_WAIT_DESTROYS_COMMS 1 -- 2.39.5