[vlc-devel] commit: Win32: strerror won't work ( Rémi Denis-Courmont )
git version control
git at videolan.org
Thu Sep 4 20:06:57 CEST 2008
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Thu Sep 4 21:10:06 2008 +0300| [822412bf11738689b7f4d2d6684749cbe8afce94] | committer: Rémi Denis-Courmont
Win32: strerror won't work
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=822412bf11738689b7f4d2d6684749cbe8afce94
---
src/misc/threads.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/src/misc/threads.c b/src/misc/threads.c
index cc002fe..a08f828 100644
--- a/src/misc/threads.c
+++ b/src/misc/threads.c
@@ -123,7 +123,7 @@ void vlc_thread_fatal (const char *action, int error, const char *function,
/* Avoid the strerror_r() prototype brain damage in glibc */
errno = error;
fprintf (stderr, " Error message: %m at:\n");
-#else
+#elif !defined (WIN32)
char buf[1000];
const char *msg;
More information about the vlc-devel
mailing list