# [PATCH] ext/gettext/gettext.dsp

- Thread: https://externals.io/message/126
- Original archive: https://news-web.php.net/php.internals/126
- Started by Nathan Fredrickson on 2003-03-21T07:38:33+00:00
- Messages: 2
- Reply by email to internals@lists.php.net
- More for agents: search with https://externals.io/search.md?q={query} · JSON API at https://externals.io/api · documentation at https://externals.io/llms.txt

---

## #126 — Nathan Fredrickson — 2003-03-21T07:38:33+00:00

URL: https://externals.io/message/126#126

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

---

## #127 — Nathan Fredrickson — 2003-03-21T07:43:28+00:00

URL: https://externals.io/message/126#127 · In reply to: #126

Here's the patch. (Attachment extension had to be .txt)

> -----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.dsp
>
>
> 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
