src/platform_unix.h
changeset 1095 fe699b711ae6
parent 1033 67e21fb43c77
child 1118 df6c0c9aa76a
child 1126 129b561095a6
     1.1 --- a/src/platform_unix.h	Mon Aug 22 19:10:41 2016 +0200
     1.2 +++ b/src/platform_unix.h	Tue Aug 30 10:53:30 2016 +0200
     1.3 @@ -44,10 +44,17 @@
     1.4  #if !defined(BSD) && !defined(__APPLE__)
     1.5  size_t strlcpy(char* dst, const	char* src, size_t size);
     1.6  size_t strlcat(char* dst, const	char* src, size_t size);
     1.7 +
     1.8 +// N.B. This is ifdef'd out because NDK users sometimes have trouble finding regex functions in
     1.9 +//      the library in spite of the inclusion of regex.h - this is a FIXME, but since iOS is
    1.10 +//      *currently* the only netpgp user, we will ifdef this so that we don't block Android.
    1.11 +#ifdef USE_NETPGP
    1.12  int regnexec(const regex_t* preg, const char* string,
    1.13               size_t len, size_t nmatch, regmatch_t pmatch[], int eflags);
    1.14  #endif
    1.15  
    1.16 +#endif
    1.17 +
    1.18  #ifdef __cplusplus
    1.19  }
    1.20  #endif