[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnash-commit] /srv/bzr/gnash/trunk r11195: Fix build without avm2.
From: |
Benjamin Wolsey |
Subject: |
[Gnash-commit] /srv/bzr/gnash/trunk r11195: Fix build without avm2. |
Date: |
Thu, 02 Jul 2009 07:20:41 +0200 |
User-agent: |
Bazaar (1.13.1) |
------------------------------------------------------------
revno: 11195
committer: Benjamin Wolsey <address@hidden>
branch nick: trunk
timestamp: Thu 2009-07-02 07:20:41 +0200
message:
Fix build without avm2.
modified:
libcore/vm/VM.cpp
------------------------------------------------------------
revno: 11194.1.1
committer: Benjamin Wolsey <address@hidden>
branch nick: work
timestamp: Thu 2009-07-02 07:11:33 +0200
message:
Non-avm2 build fix.
modified:
libcore/vm/VM.cpp
=== modified file 'libcore/vm/VM.cpp'
--- a/libcore/vm/VM.cpp 2009-07-01 16:15:52 +0000
+++ b/libcore/vm/VM.cpp 2009-07-02 05:11:33 +0000
@@ -211,15 +211,15 @@
return _rootMovie;
}
-/*public*/
as_object*
VM::getGlobal() const
{
+#if ENABLE_AVM2
if (getAVMVersion() == VM::AVM2) return _machine->global();
+#endif
return _global.get();
}
-/*private*/
void
VM::setGlobal(as_object* o)
{
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Gnash-commit] /srv/bzr/gnash/trunk r11195: Fix build without avm2.,
Benjamin Wolsey <=