Define INT32_MAX, if not defined.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@26014 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
aa2ff66326
commit
37deb72914
@ -159,8 +159,13 @@ extern float roundf(float value);
|
||||
# define IFF_AUTO_CONFIGURED 0
|
||||
#endif
|
||||
|
||||
#include <limits.h>
|
||||
|
||||
#ifndef INT32_MAX
|
||||
# define INT32_MAX INT_MAX
|
||||
#endif
|
||||
|
||||
#ifndef INT64_MAX
|
||||
# include <limits.h>
|
||||
# define INT64_MAX LONGLONG_MAX
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user