X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ba9a4cfeba4eb00e84cd17603fc9654e81445655..f3b67d25914a2b5399d69afda4dc104c195f2078:/include/xbt/sysdep.h diff --git a/include/xbt/sysdep.h b/include/xbt/sysdep.h index 682e1e2713..9141c69362 100644 --- a/include/xbt/sysdep.h +++ b/include/xbt/sysdep.h @@ -37,11 +37,9 @@ XBT_PUBLIC(void) XBT_ATTRIB_NORETURN xbt_abort(void); * @brief Kill the program with an error message * \param ... a format string and its arguments * - * Things are so messed up that the only thing to do now, is to stop the - * program. + * Things are so messed up that the only thing to do now, is to stop the program. * - * The message is handled by a CRITICAL logging request, and may consist of a - * format string with arguments. + * The message is handled by a CRITICAL logging request, and may consist of a format string with arguments. */ #define xbt_die(...) \ do { \ @@ -62,10 +60,6 @@ XBT_LOG_EXTERNAL_CATEGORY(xbt); * @{ */ -#if defined(_MSC_VER) && !defined(strdup) -# define strdup _strdup /* POSIX name is not ANSI complient blabla */ -#endif - /** @brief Like strdup, but xbt_die() on error */ static XBT_ALWAYS_INLINE char *xbt_strdup(const char *s) { char *res = NULL;