mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-18 18:30:59 +00:00
ALL: Add limits.h for all codebase
This commit is contained in:
parent
a0f02d93c5
commit
111d259015
@ -44,7 +44,6 @@
|
||||
|
||||
#include <sys/stat.h>
|
||||
#include <sys/mount.h>
|
||||
#include <limits.h>
|
||||
|
||||
#include "common/scummsys.h"
|
||||
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <stddef.h>
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#define _USE_MATH_DEFINES
|
||||
#include <math.h>
|
||||
#include <new>
|
||||
|
@ -29,6 +29,7 @@
|
||||
#include <stddef.h>
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <math.h>
|
||||
#include <new>
|
||||
|
||||
|
@ -39,6 +39,7 @@ typedef unsigned int uint;
|
||||
#include <stddef.h>
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <math.h>
|
||||
#include <new>
|
||||
|
||||
|
@ -32,6 +32,7 @@
|
||||
#include <stddef.h>
|
||||
// No assert.h
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <math.h>
|
||||
#include <new>
|
||||
|
||||
|
@ -38,6 +38,7 @@
|
||||
#include <stddef.h>
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
#include <math.h>
|
||||
#include <new>
|
||||
|
||||
|
@ -23,7 +23,6 @@
|
||||
#include "backends/platform/sdl/riscos/riscos-utils.h"
|
||||
|
||||
#include <unixlib/local.h>
|
||||
#include <limits.h>
|
||||
|
||||
namespace RISCOS_Utils {
|
||||
|
||||
|
@ -27,7 +27,6 @@
|
||||
#include "common/str.h"
|
||||
#include "common/fs.h"
|
||||
#include "common/hash-str.h"
|
||||
#include <limits.h>
|
||||
|
||||
/**
|
||||
* Provides a default savefile manager implementation for common platforms.
|
||||
|
@ -24,8 +24,6 @@
|
||||
|
||||
#define FORBIDDEN_SYMBOL_EXCEPTION_exit
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "engines/advancedDetector.h"
|
||||
#include "engines/metaengine.h"
|
||||
#include "base/commandLine.h"
|
||||
|
@ -19,8 +19,6 @@
|
||||
*
|
||||
*/
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#include "common/random.h"
|
||||
#include "common/system.h"
|
||||
#include "gui/EventRecorder.h"
|
||||
|
@ -123,6 +123,7 @@
|
||||
#include <stddef.h>
|
||||
#include <assert.h>
|
||||
#include <ctype.h>
|
||||
#include <limits.h>
|
||||
// MSVC does not define M_PI, M_SQRT2 and other math defines by default.
|
||||
// _USE_MATH_DEFINES must be defined in order to have these defined, thus
|
||||
// we enable it here. For more information, check:
|
||||
|
@ -41,7 +41,6 @@
|
||||
#include "engines/stark/services/staticprovider.h"
|
||||
#include "engines/stark/tools/decompiler.h"
|
||||
|
||||
#include <limits.h>
|
||||
#include "common/file.h"
|
||||
|
||||
namespace Stark {
|
||||
|
@ -2,8 +2,6 @@
|
||||
|
||||
#include "audio/timestamp.h"
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
class TimestampTestSuite : public CxxTest::TestSuite
|
||||
{
|
||||
public:
|
||||
|
Loading…
x
Reference in New Issue
Block a user