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:
@@ -159,8 +159,13 @@ extern float roundf(float value);
|
|||||||
# define IFF_AUTO_CONFIGURED 0
|
# define IFF_AUTO_CONFIGURED 0
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <limits.h>
|
||||||
|
|
||||||
|
#ifndef INT32_MAX
|
||||||
|
# define INT32_MAX INT_MAX
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef INT64_MAX
|
#ifndef INT64_MAX
|
||||||
# include <limits.h>
|
|
||||||
# define INT64_MAX LONGLONG_MAX
|
# define INT64_MAX LONGLONG_MAX
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user