# HAVE_STRCOLL problem

- Thread: https://externals.io/message/12777
- Original archive: https://news-web.php.net/php.internals/12777
- Started by Frank M. Kromann on 2004-09-13T18:45:58+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

---

## #12777 — Frank M. Kromann — 2004-09-13T18:45:58+00:00

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

Hello Everyone,

HAVE_STRCOLL is defined in config.w32.h and used in zend_operators.h|c.
This causes the string_locale_compare_function() to be undefined at link
time.

moving #define HAVE_STRCOLL 1 to zend_config.w32.h slves the problem.

- Frank

---

## #12783 — Steph — 2004-09-14T01:16:11+00:00

URL: https://externals.io/message/12777#12783 · In reply to: #12777

No it doesn't, because there are other items in PHP that rely on
HAVE_STRCOLL and need it to be defined where it currently is.  So it needs
to be redefined in zend_config.w32.h for Zend files, where this is its only
occurrence.

> -----Original Message-----
> From: Frank M. Kromann [mailto:frank@kromann.info]
> Sent: 13 September 2004 19:46
> To: internals@lists.php.net
> Subject: [PHP-DEV] HAVE_STRCOLL problem
>
>
> Hello Everyone,
>
> HAVE_STRCOLL is defined in config.w32.h and used in zend_operators.h|c.
> This causes the string_locale_compare_function() to be undefined at link
> time.
>
> moving #define HAVE_STRCOLL 1 to zend_config.w32.h slves the problem.
>
> - Frank
