Ignore:
Timestamp:
Aug 5, 2012, 2:24:53 PM (8 years ago)
Author:
Sam Hocevar
Message:

build: fix compilation by including <wchar.h> and checking for regwexec.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/common/fd.c

    r4832 r4836  
    200200int _zz_mustwatch(char const *file)
    201201{
    202 #if defined HAVE_REGEX_H
     202#if defined HAVE_REGEXEC
    203203    if(has_include && regexec(&re_include, file, 0, NULL, 0) == REG_NOMATCH)
    204204        return 0; /* not included: ignore */
     
    215215int _zz_mustwatchw(wchar_t const *file)
    216216{
    217 #if defined HAVE_REGEX_H
     217#if defined HAVE_REGWEXEC
    218218    if(has_include && regwexec(&re_include, file, 0, NULL, 0) == REG_NOMATCH)
    219219        return 0; /* not included: ignore */
Note: See TracChangeset for help on using the changeset viewer.