From 637cb1e7e9e007f9466f4813ee12617815dbf1f1 Mon Sep 17 00:00:00 2001 From: cherierm Date: Tue, 13 Mar 2007 12:08:51 +0000 Subject: [PATCH] special data exportation for Visual C++ git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@3251 48e7efb5-ca39-0410-a469-dd3cf9ba447f --- include/xbt/ex.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/xbt/ex.h b/include/xbt/ex.h index 339848c1bd..e68c430f51 100644 --- a/include/xbt/ex.h +++ b/include/xbt/ex.h @@ -309,12 +309,12 @@ typedef struct { /* the exception context */ typedef ex_ctx_t *(*ex_ctx_cb_t)(void); -extern ex_ctx_cb_t __xbt_ex_ctx; +extern ex_ctx_cb_t XBT_DECLARE_DATA __xbt_ex_ctx; extern ex_ctx_t *__xbt_ex_ctx_default(void); /* the termination handler */ typedef void (*ex_term_cb_t)(xbt_ex_t *); -extern ex_term_cb_t __xbt_ex_terminate; +extern ex_term_cb_t XBT_DECLARE_DATA __xbt_ex_terminate; extern void __xbt_ex_terminate_default(xbt_ex_t *e); /** @brief Introduce a block where exception may be dealed with -- 2.20.1