Skip to content

Commit

Permalink
Fixes lexxmark#95
Browse files Browse the repository at this point in the history
  • Loading branch information
danielmarschall committed Aug 13, 2024
1 parent fe8d4fc commit ba3893a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 4 deletions.
9 changes: 7 additions & 2 deletions bison/data/skeletons/c.m4
Original file line number Diff line number Diff line change
Expand Up @@ -305,8 +305,13 @@ m4_define([b4_sizes_types_define],
# define YYPTRDIFF_T ptrdiff_t
# define YYPTRDIFF_MAXIMUM PTRDIFF_MAX
# else
# define YYPTRDIFF_T long
# define YYPTRDIFF_MAXIMUM LONG_MAX
# ifdef _Win64
# define YYPTRDIFF_T long long
# define YYPTRDIFF_MAXIMUM LLONG_MAX
# else
# define YYPTRDIFF_T long
# define YYPTRDIFF_MAXIMUM LONG_MAX
# endif
# endif
#endif
Expand Down
9 changes: 7 additions & 2 deletions bison/src/parse-gram.c
Original file line number Diff line number Diff line change
Expand Up @@ -417,8 +417,13 @@ typedef int yytype_uint16;
# define YYPTRDIFF_T ptrdiff_t
# define YYPTRDIFF_MAXIMUM PTRDIFF_MAX
# else
# define YYPTRDIFF_T long
# define YYPTRDIFF_MAXIMUM LONG_MAX
# ifdef _Win64
# define YYPTRDIFF_T long long
# define YYPTRDIFF_MAXIMUM LLONG_MAX
# else
# define YYPTRDIFF_T long
# define YYPTRDIFF_MAXIMUM LONG_MAX
# endif
# endif
#endif

Expand Down

0 comments on commit ba3893a

Please sign in to comment.