planner/planner-0.14.3-glibc-2.7.patch

16 lines
443 B
Diff
Raw Permalink Normal View History

--- libplanner/mrp-sql.c 2008/07/15 01:17:58 1.1
+++ libplanner/mrp-sql.c 2008/07/15 01:19:28
@@ -2405,9 +2405,9 @@ mrp_sql_load_project (MrpStorageSQL *sto
}
#define WRITE_ERROR(e,c) \
-G_STMT_START \
-g_set_error(e,MRP_ERROR,MRP_ERROR_SAVE_WRITE_FAILED, sql_get_last_error (c)) \
-G_STMT_END
+G_STMT_START { \
+g_set_error(e,MRP_ERROR,MRP_ERROR_SAVE_WRITE_FAILED, sql_get_last_error (c)); \
+} G_STMT_END
/*************************