At 06:18 PM 3/25/2005 +0100, Edin Kadribasic wrote:

On Mar 25, 2005, at 7:26, Christopher Kings-Lynne wrote:

chriskl         Fri Mar 25 01:26:31 2005 EDT

  Modified files:
    /php-src    NEWS
    /php-src/ext/pgsql  config.m4 config.w32 pgsql.c
    /php-src/ext/pgsql/tests    08escape.phpt 25async_query_params.phpt
  Log:
  (PHP pg_unescape_bytea) Use libpq version of PQunescapeBytea if it exists.

  # The version in libpq is newer and faster than the one in PHP, but it is
  # necessary for me to add a string copy for freeing purposes.  This copy
  # is only needed in Windows AFAIK, how can I detect that?

This is needed on windows when you link dynamic libpq (dll). We link libpq statically into the php extension so we have no such problems. So you don't need to give windows build any special consideration.


#ifdef PHP_WIN32 is the correct way to insert windows specific parts in php source.

Or define it in config.w32.h if suitable.

Andi

--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to