mirror of
https://github.com/libretro/scummvm.git
synced 2025-02-01 16:35:20 +00:00
COMMON: Include <limits> by default
We discussed it in https://github.com/scummvm/scummvm/pull/3966, so std::numeric_limits is OK to use in the ScummVM codebase.
This commit is contained in:
parent
01bb2bc689
commit
bc6b225eed
@ -137,6 +137,11 @@
|
||||
// easily do that for systems which do have a <new>, since it might clash with
|
||||
// the default definition otherwise!
|
||||
#include <new>
|
||||
|
||||
// After having discussion about use of std::numeric_limits in
|
||||
// https://github.com/scummvm/scummvm/pull/3966 we concluded that it is safe to
|
||||
// use it as minimal STL code with low probability to bring any incompatibilities
|
||||
#include <limits>
|
||||
#endif
|
||||
|
||||
#ifndef STATIC_ASSERT
|
||||
|
Loading…
x
Reference in New Issue
Block a user