From 3a85925a576cbc33305215577352939ab9442fb5 Mon Sep 17 00:00:00 2001 From: mquinson Date: Wed, 16 Sep 2009 20:38:04 +0000 Subject: [PATCH] API change fix: please define MSG_USE_DEPRECATED to get the broken MSG_mailbox_put_with_time_out name again git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@6666 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- include/msg/msg.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/msg/msg.h b/include/msg/msg.h index d6df06671d..78dc604535 100644 --- a/include/msg/msg.h +++ b/include/msg/msg.h @@ -201,5 +201,11 @@ XBT_PUBLIC(void) MSG_action_unregister(const char *action_name); MSG_error_t MSG_action_trace_run(char *path); +#ifdef MSG_USE_DEPRECATED +#define MSG_mailbox_put_with_time_out(mailbox, task, timeout) \ + MSG_mailbox_put_with_timeout(mailbox, task, timeout) + +#endif + SG_END_DECL() #endif -- 2.20.1