root / trunk / data / gettext / regex.diff

Revision 199, 0.9 kB (checked in by saurik, 8 months ago)

Drastic, sweeping modifications to support iPhone 1.2.0/2.0.

  • gettext-tools/libgrep/regex.c

    diff -ru gettext-0.17/gettext-tools/libgrep/regex.c gettext-0.17+iPhone/gettext-tools/libgrep/regex.c
    old new  
    4545#  include <wctype.h> 
    4646# endif 
    4747 
    48 # ifdef _LIBC 
    49 /* We have to keep the namespace clean.  */ 
    5048#  define regfree(preg) __regfree (preg) 
    5149#  define regexec(pr, st, nm, pm, ef) __regexec (pr, st, nm, pm, ef) 
    5250#  define regcomp(preg, pattern, cflags) __regcomp (preg, pattern, cflags) 
    5351#  define regerror(errcode, preg, errbuf, errbuf_size) \ 
    5452        __regerror(errcode, preg, errbuf, errbuf_size) 
     53# ifdef _LIBC 
     54/* We have to keep the namespace clean.  */ 
    5555#  define re_set_registers(bu, re, nu, st, en) \ 
    5656        __re_set_registers (bu, re, nu, st, en) 
    5757#  define re_match_2(bufp, string1, size1, string2, size2, pos, regs, stop) \ 
Note: See TracBrowser for help on using the browser.