On Fri, May 07, 2004 at 08:12:54PM +0100, Wez Furlong wrote: > Any help would be appreciated; essentially you need to find a way to get > ulong defined with the _XOPEN_SOURCE and _BSD_SOURCE symbols defined. > > You might find that you need to specify a numeric value (the year or > revision number; I don't recall) for it to turn on certain parts of the > header. > > Something like this: > > #define _XOPEN_SOURCE 0x1000 > > Thanks for any insight you can provide on this,
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. 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. / Fahlgren -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php