Skip to content
5 changes: 5 additions & 0 deletions ext/json/ext/json.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,13 @@
#else
# define JSON_UNREACHABLE_RETURN UNREACHABLE_RETURN
#endif

/* shims */

#ifndef UNDEF_P
#define UNDEF_P(val) (val == Qundef)
#endif

#if SIZEOF_UINT64_T == SIZEOF_LONG_LONG
# define INT64T2NUM(x) LL2NUM(x)
# define UINT64T2NUM(x) ULL2NUM(x)
Expand Down
Loading
Loading