Skip to content

Commit

Permalink
Fix ‘UCHAR_MAX’ undeclared
Browse files Browse the repository at this point in the history
  • Loading branch information
tcz717 authored and tammela committed Aug 3, 2018
1 parent 978405b commit b92c5e2
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lua/luaconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -874,14 +874,12 @@ static inline void *realloc(const void *p, size_t new_size)
/* signal.h */
#define l_signalT lu_byte

#ifdef __mips__
/* limits.h */
#define UCHAR_MAX (255)
#define CHAR_BIT (8)

#undef LUAL_BUFFERSIZE /* stack shouldn't be greater than 2048 */
#define LUAL_BUFFERSIZE (1024)
#endif /* __mips__ */

#endif /* __linux__ */

Expand Down

0 comments on commit b92c5e2

Please sign in to comment.