summaryrefslogtreecommitdiff
path: root/win32/regex.h
diff options
context:
space:
mode:
Diffstat (limited to 'win32/regex.h')
-rw-r--r--win32/regex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/win32/regex.h b/win32/regex.h
index 7996b58..06a1090 100644
--- a/win32/regex.h
+++ b/win32/regex.h
@@ -12,7 +12,8 @@ extern "C" {
#define CHARCLASS_NAME_MAX 14
#define RE_DUP_MAX 255
-typedef size_t regoff_t;
+#include <BaseTsd.h>
+typedef SSIZE_T regoff_t;
// #include <bits/alltypes.h>
typedef struct re_pattern_buffer {