Tom Lane wrote:
I'd suggest making the callers do something like#ifdef HAVE_FNMATCH #include <fnmatch.h> #else #include "port/pg_fnmatch.h" #endif
The way Autoconf suggests to organize this is to provide a fake fnmatch.h (they call it fnmatch_.h) and link it to fnmatch.h if it is needed.
This way, callers don't need to know the difference. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers