From df521bb90d2df6d5b4f6117ace7f3bb9d8acd608 Mon Sep 17 00:00:00 2001 From: kervala Date: Sun, 24 Oct 2010 16:56:45 +0200 Subject: [PATCH] Fixed: Segmentation fault while compiling objject_viewer_qt --- code/nel/tools/3d/object_viewer_qt/src/callback.h | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/code/nel/tools/3d/object_viewer_qt/src/callback.h b/code/nel/tools/3d/object_viewer_qt/src/callback.h index eba33d564..822b1ee99 100644 --- a/code/nel/tools/3d/object_viewer_qt/src/callback.h +++ b/code/nel/tools/3d/object_viewer_qt/src/callback.h @@ -24,7 +24,13 @@ // STL includes // NeL includes -#include +#ifdef NL_COMP_GCC +// temporary fix for GCC 4.4 segmentation fault +# undef nlassert +# define nlassert(x) +#else +# include +#endif // NL_COMP_GCC // Project includes