Skip to content

Commit

Permalink
fix #216: Cmake build fails on Windows (don't use ssize_t for Windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
kkos committed Oct 9, 2020
1 parent 3964046 commit 78356c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/regexec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1100,7 +1100,7 @@ onig_region_copy(OnigRegion* to, OnigRegion* from)
#define STK_MASK_TO_VOID_TARGET 0x100e
#define STK_MASK_MEM_END_OR_MARK 0x8000 /* MEM_END or MEM_END_MARK */

typedef ssize_t StackIndex;
typedef ptrdiff_t StackIndex;

#define INVALID_STACK_INDEX ((StackIndex )-1)

Expand Down

0 comments on commit 78356c1

Please sign in to comment.