]> git.sur5r.net Git - bacula/bacula/blob - bacula/src/win32/patches/sed.patch
Restore win32 dir from Branch-5.2 and update it
[bacula/bacula] / bacula / src / win32 / patches / sed.patch
1 Index: regex_internal.h
2 --- ../released/sed-4.1.5/lib/regex_internal.h  2005-12-06 00:50:56.000000000 -0800
3 +++ ./lib/regex_internal.h      2006-08-31 02:24:05.000000000 -0700
4 @@ -410,7 +410,11 @@
5  #define re_string_skip_bytes(pstr,idx) ((pstr)->cur_idx += (idx))
6  #define re_string_set_index(pstr,idx) ((pstr)->cur_idx = (idx))
7  
8 +#if defined(WIN32)
9 +#include <malloc.h>
10 +#else
11  #include <alloca.h>
12 +#endif
13  
14  #ifndef _LIBC
15  # if HAVE_ALLOCA