GNUC define fix
parent
e9a11a9a7e
commit
384529333c
|
@ -31,7 +31,7 @@ namespace blt
|
||||||
return ((seed * (seed * seed * 15731 + 789221) + 1376312589) & 0x7fffffff);
|
return ((seed * (seed * seed * 15731 + 789221) + 1376312589) & 0x7fffffff);
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __GCC__
|
#ifdef __GNUC__
|
||||||
#pragma GCC diagnostic push
|
#pragma GCC diagnostic push
|
||||||
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
#pragma GCC diagnostic ignored "-Wstrict-aliasing"
|
||||||
#endif
|
#endif
|
||||||
|
@ -53,7 +53,7 @@ namespace blt
|
||||||
return y;
|
return y;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifdef __GCC
|
#ifdef __GNUC__
|
||||||
#pragma GCC diagnostic pop
|
#pragma GCC diagnostic pop
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue