[Nut-upsdev] [nut-commits] svn commit r2260 - trunk/drivers

Arjen de Korte nut+devel at de-korte.org
Sat Jan 23 16:43:30 UTC 2010


Citeren Charles Lepple <clepple op gmail.com>:

> # ifdef __USE_XOPEN
> /* Parse S according to FORMAT and store binary time information in TP.
>    The return value is a pointer to the first unparsed character in S.  */
> extern char *strptime (__const char *__restrict __s,
>                        __const char *__restrict __fmt, struct tm *__tp)
>      __THROW;
> # endif
>
> I won't have much time to chase this down today, but if there are any
> other quick things I can check, let me know.

I found some links, suggesting that #define'ing _XOPEN_SOURCE will  
also exclude other stuff from being declared (which is probably what  
we're seeing now). It was also suggested to #define __USE_XOPEN  
instead, so that's what I'll try now.

Best regards, Arjen
-- 
Please keep list traffic on the list




More information about the Nut-upsdev mailing list