[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r9898: Fix CURL-full build (eh)
From: |
Sandro Santilli |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r9898: Fix CURL-full build (eh) |
Date: |
Wed, 01 Oct 2008 20:17:27 +0200 |
User-agent: |
Bazaar (1.5) |
------------------------------------------------------------
revno: 9898
committer: Sandro Santilli <address@hidden>
branch nick: trunk
timestamp: Wed 2008-10-01 20:17:27 +0200
message:
Fix CURL-full build (eh)
modified:
libbase/curl_adapter.cpp
=== modified file 'libbase/curl_adapter.cpp'
--- a/libbase/curl_adapter.cpp 2008-10-01 17:31:36 +0000
+++ b/libbase/curl_adapter.cpp 2008-10-01 18:17:27 +0000
@@ -36,10 +36,11 @@
#include <boost/version.hpp>
#include <boost/assign/list_of.hpp>
-namespace gnash {
-
#ifndef USE_CURL
+
+namespace gnash {
+
// Stub for warning about access when no libcurl is defined.
std::auto_ptr<IOChannel>
@@ -63,6 +64,8 @@
return makeStream(url);
}
+} // namespace gnash
+
#else // def USE_CURL
#include <curl/curl.h>
@@ -92,6 +95,8 @@
//#define GNASH_CURL_WARN_SEEKSBACK 1
+namespace gnash {
+
namespace {
/***********************************************************************
@@ -1333,10 +1338,10 @@
("Warning")
("WWW-Authenticate");
+} // namespace gnash
+
#endif // def USE_CURL
-} // namespace gnash
-
// Local Variables:
// mode: C++
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r9898: Fix CURL-full build (eh),
Sandro Santilli <=