diff options
| author | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-12-16 09:28:04 +0000 |
|---|---|---|
| committer | Benjamin Dauvergne <bdauvergne@entrouvert.com> | 2009-12-16 09:28:04 +0000 |
| commit | 07ccaf02eca00401f70f9f2ad702dfa490bd10ca (patch) | |
| tree | 03cac5386006141f1de23298502ee74deb0d2fec | |
| parent | 4057bd3ef23d3dbd7462b33b99c34aec83e8a7ab (diff) | |
| download | lasso-07ccaf02eca00401f70f9f2ad702dfa490bd10ca.tar.gz lasso-07ccaf02eca00401f70f9f2ad702dfa490bd10ca.tar.xz lasso-07ccaf02eca00401f70f9f2ad702dfa490bd10ca.zip | |
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.
| -rw-r--r-- | lasso/utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
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 <glib.h> #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; \ } \ |
