Explicitly pull in limits.h when using INT_MIN/INT_MAX
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
#include "RageTimer.h"
|
||||
#include "Foreach.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <list>
|
||||
|
||||
/* The number of frames we should keep pos_map data for. This being too high
|
||||
|
||||
@@ -39,6 +39,8 @@
|
||||
#include "RageSoundMixBuffer.h"
|
||||
#include "RageSoundUtil.h"
|
||||
#include "Foreach.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include <set>
|
||||
|
||||
class RageSoundReader_Split;
|
||||
|
||||
@@ -2,6 +2,8 @@
|
||||
#include "RageSurface.h"
|
||||
#include "RageUtil.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
bool RageSurfaceColor::operator== ( const RageSurfaceColor &rhs ) const
|
||||
{
|
||||
return rhs.r == r && rhs.g == g && rhs.b == b && rhs.a == a;
|
||||
|
||||
Reference in New Issue
Block a user