aadd conditionals around definition of INT_MAX

This commit is contained in:
Nick Clifton 2000-12-13 18:48:04 +00:00
parent 92625c1624
commit 6256f9dd96
1 changed files with 2 additions and 0 deletions

View File

@ -33,8 +33,10 @@
#ifdef HAVE_LIMITS_H
#include <limits.h>
#else
#ifndef INT_MAX
#define INT_MAX (int) (((unsigned)(-1)) >> 1)
#endif
#endif
#ifdef BFD_ASSEMBLER