Re: [Vala] Undefined reference to 'localtime_r' on Windows



You should send mails to the mailing list in english.

localtime_r is the thread-safe version of localtime, which comes from POSIX-2008.

windows stands on a posix version of 2000 or before. so you don't have this
function in windows. i would just use localtime() there.

valac -X "-Dlocaltime_r=localtime" ...

should do the trick.

but it would be great if you report your problem in a correct form, like saying
which software are you trying to compile, which compiler, etc..

On 06/06/11 19:31, Edwin DLCA wrote:
Como reparo este error en windows.
En linux no hay problema pero necesito hacerlo en Windows tambien.
Gracias.
TKS.



_______________________________________________
vala-list mailing list
vala-list gnome org
http://mail.gnome.org/mailman/listinfo/vala-list




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]