only use ape/limits.h on plan9

This commit is contained in:
Alex Shinn 2018-01-13 22:01:36 +09:00
parent 2b8380323d
commit 9e4eb03fb4

View file

@ -262,7 +262,11 @@ typedef uint32_t sexp_uint32_t;
typedef int32_t sexp_int32_t; typedef int32_t sexp_int32_t;
# endif # endif
#else #else
# ifdef PLAN9
# include <ape/limits.h> # include <ape/limits.h>
# else
# include <limits.h>
# endif
# if UCHAR_MAX == 255 # if UCHAR_MAX == 255
# define SEXP_UINT8_DEFINED 1 # define SEXP_UINT8_DEFINED 1
typedef unsigned char sexp_uint8_t; typedef unsigned char sexp_uint8_t;