Skip to content

Commit

Permalink
2010-03-09 Zoltan Varga <vargaz@gmail.com>
Browse files Browse the repository at this point in the history
	* object-internals.h (_G_BOOLEAN_EXPR): Fix the definition of this to explicitly
	convert to a boolean, recent gcc versions compile this differently.

svn path=/branches/mono-2-6/mono/; revision=153373
  • Loading branch information
vargaz committed Mar 9, 2010
1 parent 05df794 commit c093f14
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
5 changes: 5 additions & 0 deletions mono/metadata/ChangeLog
@@ -1,3 +1,8 @@
2010-03-09 Zoltan Varga <vargaz@gmail.com>

* object-internals.h (_G_BOOLEAN_EXPR): Fix the definition of this to explicitly
convert to a boolean, recent gcc versions compile this differently.

2010-03-08 Rodrigo Kumpera <rkumpera@novell.com>

* verify.c: Store the initial basic block returned by mono_basic_block_split
Expand Down
2 changes: 1 addition & 1 deletion mono/metadata/object-internals.h
Expand Up @@ -27,7 +27,7 @@
*/
#ifdef _G_BOOLEAN_EXPR
#undef _G_BOOLEAN_EXPR
#define _G_BOOLEAN_EXPR(expr) (gsize)(expr)
#define _G_BOOLEAN_EXPR(expr) ((gsize)(expr) != 0)
#endif

#if 1
Expand Down

0 comments on commit c093f14

Please sign in to comment.