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