[vlc-devel] Solaris ctime_r (modules/control/http.c) and _POSIX_PTHREAD_SEMANTICS

R. Bernstein rocky at panix.com
Sat Jan 31 16:21:22 CET 2004

In building vlc on Solaris, modules/control/http.c fails to compile
because it tries to use its old pre-POSIX ctime_r definition which had
3 parameters rather than 2. Adding -D_POSIX_PTHREAD_SEMANTICS to
CFLAGS on Solaris causes it to use the POSIX ctime_r, but it probably
has many other effects too. 

Anyone know if this adding -D_POSIX_PTHREAD_SEMANTICS is harmful or a
better way to address the Solaris ctime_r compatability probem? (As I
type this I'm rebuilding vlc which is a slow process.)

vlc uses POSIX pthread semantics (on Solaris), right?


This is the vlc-devel mailing-list, see http://www.videolan.org/vlc/
To unsubscribe, please read http://developers.videolan.org/lists.html
If you are in trouble, please contact <postmaster at videolan.org>

More information about the vlc-devel mailing list