diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a18d2a793..e5a1b1ec1 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2003-04-10 Corinna Vinschen + + * regex/regex.h: Define regoff_t as _off_t. + * regex/regex2.h: Ditto. + 2003-04-10 Corinna Vinschen * cygwin.din: Export wcscoll, wcswidth and wcwidth. diff --git a/winsup/cygwin/regex/regex.h b/winsup/cygwin/regex/regex.h index 0ef0ace36..ecba140b0 100644 --- a/winsup/cygwin/regex/regex.h +++ b/winsup/cygwin/regex/regex.h @@ -14,7 +14,7 @@ extern "C" { #endif /* === regex2.h === */ -typedef off_t regoff_t; +typedef _off_t regoff_t; typedef struct { int re_magic; size_t re_nsub; /* number of parenthesized subexpressions */ diff --git a/winsup/cygwin/regex/regex2.h b/winsup/cygwin/regex/regex2.h index 58fd8d8a4..8c103fa54 100644 --- a/winsup/cygwin/regex/regex2.h +++ b/winsup/cygwin/regex/regex2.h @@ -1,6 +1,6 @@ /* * First, the stuff that ends up in the outside-world include file - = typedef off_t regoff_t; + = typedef _off_t regoff_t; = typedef struct { = int re_magic; = size_t re_nsub; // number of parenthesized subexpressions