> Oki, second attempt. Perhaps att better solution:
> 
> #define _XOPEN_SOURCE
> #define _BSD_SOURCE
> 
> #define __EXTENSIONS__
> #include <sys/types.h>
> 
> #include "php.h"
> #include <stdio.h>
> #include <ctype.h>
> [...]
> 
> compiles on both Solaris and Linux. (at least when I try it 
> at home) :)
> I have only tried it on Solaris 8 and 9 since I don't have 
> access to any
> other versions.

Great - that "looks" right.  Thanks :)

I think that we just need to solve this problem for OpenBSD too (iirc).

I don't have any OpenBSD boxen, so it would be great if someone lurking
here could test/investigate this too.

> I have also found some problems with iconv on Solaris (and it 
> fails make
> test as well), will try to track it down and find the problem 
> during the
> weekend.

I think the best results for the iconv extension can be obtained using
the GNU libiconv implementation, but I'm no expert on this.

--Wez.

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to