gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] gnash/libbase curl_adapter.cpp


From: Vitaly Alexeev
Subject: [Gnash-commit] gnash/libbase curl_adapter.cpp
Date: Thu, 01 Jun 2006 07:28:25 +0000

CVSROOT:        /sources/gnash
Module name:    gnash
Branch:         
Changes by:     Vitaly Alexeev <address@hidden> 06/06/01 07:28:25

Modified files:
        libbase        : curl_adapter.cpp 

Log message:
        porting to WIN32

CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/gnash/gnash/libbase/curl_adapter.cpp.diff?tr1=1.5&tr2=1.6&r1=text&r2=text

Patches:
Index: gnash/libbase/curl_adapter.cpp
diff -u gnash/libbase/curl_adapter.cpp:1.5 gnash/libbase/curl_adapter.cpp:1.6
--- gnash/libbase/curl_adapter.cpp:1.5  Mon May 29 14:22:05 2006
+++ gnash/libbase/curl_adapter.cpp      Thu Jun  1 07:28:25 2006
@@ -33,7 +33,10 @@
 // also makes it possible to release a modified version which carries
 // forward this exception.
 // 
-//
+
+#ifdef WIN32
+#      define snprintf _snprintf
+#endif
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
@@ -74,7 +77,11 @@
 #include <cerrno>
 #include <sys/types.h>
 #include <sys/stat.h>
-#include <unistd.h>
+
+#ifndef WIN32
+#      include <unistd.h>
+#endif
+
 #include <curl/curl.h>
 
 namespace curl_adapter




reply via email to

[Prev in Thread] Current Thread [Next in Thread]