replace limits.h with climits
The former was deprecated with C++14. The standard says they are the same with one exception: The header<climits>defines all macros the same as the C standard library header<limits.h>. [Note:The types of the constants defined by macros in<climits>are not required to match the types to which themacros refer.— end note] Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@@ -27,9 +27,10 @@
|
||||
#include "Log.hxx"
|
||||
#include "util/Compiler.h"
|
||||
|
||||
#include <climits>
|
||||
|
||||
#include <string.h>
|
||||
#include <unistd.h>
|
||||
#include <limits.h>
|
||||
|
||||
#ifndef HOST_NAME_MAX
|
||||
/* HOST_NAME_MAX is not a portable macro; it is undefined on some
|
||||
|
Reference in New Issue
Block a user