gnash-commit
[Top][All Lists]
Advanced

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

[Gnash-commit] /srv/bzr/gnash/trunk r11199: Fix non-avm2 build again.


From: Benjamin Wolsey
Subject: [Gnash-commit] /srv/bzr/gnash/trunk r11199: Fix non-avm2 build again.
Date: Thu, 02 Jul 2009 13:24:12 -0600
User-agent: Bazaar (1.13.1)

------------------------------------------------------------
revno: 11199
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Thu 2009-07-02 13:24:12 -0600
message:
  Fix non-avm2 build again.
modified:
  libcore/asNamespace.cpp
=== modified file 'libcore/asNamespace.cpp'
--- a/libcore/asNamespace.cpp   2009-07-02 14:00:58 +0000
+++ b/libcore/asNamespace.cpp   2009-07-02 19:24:12 +0000
@@ -15,6 +15,10 @@
 // along with this program; if not, write to the Free Software
 // Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA
 
+#ifdef HAVE_CONFIG_H
+# include "gnashconfig.h"
+#endif
+
 #include "asNamespace.h"
 #include "VM.h"
 #include "ClassHierarchy.h"
@@ -36,6 +40,7 @@
 void
 asNamespace::dump(string_table& st)
 {
+#if ENABLE_AVM2
     std::ostringstream s;
 
     for (container::const_iterator i = _classes.begin(), e = _classes.end();
@@ -46,7 +51,7 @@
     }
 
     log_debug("Classes in namespace %s(%s): %s", st.value(_uri), _uri, 
s.str());
-
+#endif
 }
 
 }


reply via email to

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