The latest fixes (2000-06-19) defining REGEX_MALLOC and _REGEX_RE_COMP
break the build process on Win32.

To fix the problem, REGEX_MALLOC and _REGEX_RE_COMP need to be defined
in the Windows-NT/config.c file, as in the patch below:

Index: config.h
===================================================================
RCS file: /home2/cvsroot/ccvs/windows-NT/config.h,v
retrieving revision 1.33
diff -u -r1.33 config.h
--- config.h    1998/10/01 16:49:10     1.33
+++ config.h    2000/06/26 19:19:18
@@ -325,3 +325,6 @@
    moot since the use of buffer.c ensures that writes will only be as big
    as the buffers).  */
 #define SEND_NEVER_PARTIAL 1
+
+#define REGEX_MALLOC 1
+#define _REGEX_RE_COMP 1

thanks,

jon

-- 
.Jonathan J. Miner------------------Division of Information Technology.
|[EMAIL PROTECTED]                 University Of Wisconsin - Madison|
|608/262.9655                               Room 3149 Computer Science|
`---------------------------------------------------------------------'

 On the plus side, it's a lot easier in general to find /usr/include than cpp.
              -- Larry Wall in <[EMAIL PROTECTED]>

Reply via email to