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:
Ingo Weinhold 2008-06-19 00:03:56 +00:00
parent aa2ff66326
commit 37deb72914

View File

@ -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