Jeremy White : msvcrt: Solaris asctime_r compilation fix.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Jun 19 16:18:11 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: a73d568ece1cfa2aee857d5b5823c63b7dd51f4a
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=a73d568ece1cfa2aee857d5b5823c63b7dd51f4a

Author: Jeremy White <jwhite at codeweavers.com>
Date:   Mon Jun 19 22:42:05 2006 +0200

msvcrt: Solaris asctime_r compilation fix.

---

 dlls/msvcrt/time.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/dlls/msvcrt/time.c b/dlls/msvcrt/time.c
index 4d8afd5..868a0dc 100644
--- a/dlls/msvcrt/time.c
+++ b/dlls/msvcrt/time.c
@@ -24,6 +24,7 @@
 
 #include "config.h"
 
+#define _POSIX_PTHREAD_SEMANTICS /* switch to a 2 arg style asctime_r on Solaris */
 #include <time.h>
 #ifdef HAVE_SYS_TIMES_H
 # include <sys/times.h>




More information about the wine-cvs mailing list