The attached patch contains a couple of changes to win32 project file for the gettext extension.
Add defines necessary to enable plural gettext functions on win32. These functions exist in the current libintl-1.dll, but are currently unaccessible from php.
/D HAVE_NGETTEXT=1
/D HAVE_DNGETTEXT=1
Changed the import lib that is linked to libintl.lib intstead of gnu_gettext.lib. As far as I know these two import libs are identical and both are available at:
http://ftp.proventum.net/pub/php/win32/misc/dev/php_build/lib/
Nathan
Here's the patch. (Attachment extension had to be .txt)
Quoted text · 12 lines
-----Original Message-----
From: Nathan Fredrickson [mailto:nathan@silverorange.com] Sent: Friday, March 21, 2003 2:39 AM
To: php.internals
Subject: [PHP-DEV] [PATCH] ext/gettext/gettext.dspThe attached patch contains a couple of changes to win32 project file for the gettext extension.
Add defines necessary to enable plural gettext functions on win32. These functions exist in the current libintl-1.dll, but are currently unaccessible
from php.
/D HAVE_NGETTEXT=1
/D HAVE_DNGETTEXT=1Changed the import lib that is linked to libintl.lib intstead of gnu_gettext.lib. As far as I know these two import libs are identical and both are available at:
http://ftp.proventum.net/pub/php/win32/misc/dev/php_build/lib/Nathan