Skip to content

Commit

Permalink
fixed linux build with new gcc versions
Browse files Browse the repository at this point in the history
  • Loading branch information
meeloo committed Jan 7, 2012
1 parent 71af080 commit 92b8bda
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion include/nuiVariant.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,13 @@ class nuiTopLevel;
class nuiMainWindow;
class nuiLabel;

#ifdef __clang__
#define GCC_VERSION (__GNUC__ * 10000 \
+ __GNUC_MINOR__ * 100 \
+ __GNUC_PATCHLEVEL__)
/* Test for GCC > 3.2.0 */
//#if GCC_VERSION > 30200

#if defined __clang__ || GCC_VERSION > 40600
template <> uint64 nuiAttributeTypeTrait<bool>::mTypeId;

template <> uint64 nuiAttributeTypeTrait<int8>::mTypeId;
Expand Down

0 comments on commit 92b8bda

Please sign in to comment.