diff options
Diffstat (limited to 'generic/regex.h')
-rw-r--r-- | generic/regex.h | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/generic/regex.h b/generic/regex.h index b5dce50..4422f2a 100644 --- a/generic/regex.h +++ b/generic/regex.h @@ -1,5 +1,8 @@ #ifndef _REGEX_H_ #define _REGEX_H_ /* never again */ + +#include "tclInt.h" + /* * regular expressions * @@ -103,9 +106,13 @@ extern "C" { #endif /* interface types */ #define __REG_WIDE_T Tcl_UniChar +#ifdef __CYGWIN__ +#define __REG_REGOFF_T int /* not really right, but good enough... */ +#else #define __REG_REGOFF_T long /* not really right, but good enough... */ -#define __REG_VOID_T VOID -#define __REG_CONST CONST +#endif +#define __REG_VOID_T void +#define __REG_CONST const /* names and declarations */ #define __REG_WIDE_COMPILE TclReComp #define __REG_WIDE_EXEC TclReExec @@ -320,3 +327,11 @@ MODULE_SCOPE size_t regerror(int, __REG_CONST regex_t *, char *, size_t); #endif #endif + +/* + * Local Variables: + * mode: c + * c-basic-offset: 4 + * fill-column: 78 + * End: + */ |