From 07ccaf02eca00401f70f9f2ad702dfa490bd10ca Mon Sep 17 00:00:00 2001 From: Benjamin Dauvergne Date: Wed, 16 Dec 2009 09:28:04 +0000 Subject: Core: in utils.h, change __STRING(x) for #x * lasso/utils.h: __STRING(x) does not seem more portable than #x so change, problem with AIX. --- lasso/utils.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lasso/utils.h b/lasso/utils.h index 269a9f87..ac2bcecf 100644 --- a/lasso/utils.h +++ b/lasso/utils.h @@ -27,6 +27,7 @@ #include #include "debug.h" +#include "./backward_comp.h" #ifdef LASSO_DEBUG #ifdef __GNUC__ @@ -403,7 +404,7 @@ #define goto_cleanup_if_fail_with_rc_with_warning(condition, rc_value) \ {\ if (! (condition) ) {\ - g_warning("%s failed, returning %s", __STRING(condition), __STRING(rc_value));\ + g_warning("%s failed, returning %s", #condition, #rc_value);\ rc = (rc_value); \ goto cleanup; \ } \ -- cgit