diff options
| -rw-r--r-- | lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py | 2 | ||||
| -rw-r--r-- | lldb/test/lang/cpp/dynamic-value/sbvalue-cast.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py b/lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py index 8d229b3b378..83271e2a00f 100644 --- a/lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py +++ b/lldb/test/lang/cpp/dynamic-value/TestCppValueCast.py @@ -54,7 +54,7 @@ class CppValueCastTestCase(TestBase): self.source = 'sbvalue-cast.cpp'; self.line = line_number(self.source, '// Set breakpoint here.') self.exe_name = self.testMethodName - self.d_virtual = {'CXX_SOURCES': self.source, 'EXE': self.exe_name, 'CFLAGS_EXTRAS': '-DVIRTUAL=YES'} + self.d_virtual = {'CXX_SOURCES': self.source, 'EXE': self.exe_name, 'CFLAGS_EXTRAS': '-DDO_VIRTUAL_VIRTUAL'} self.d_regular = {'CXX_SOURCES': self.source, 'EXE': self.exe_name} def do_sbvalue_cast (self, exe_name): diff --git a/lldb/test/lang/cpp/dynamic-value/sbvalue-cast.cpp b/lldb/test/lang/cpp/dynamic-value/sbvalue-cast.cpp index 889486a42a0..c3d5d7f4d7b 100644 --- a/lldb/test/lang/cpp/dynamic-value/sbvalue-cast.cpp +++ b/lldb/test/lang/cpp/dynamic-value/sbvalue-cast.cpp @@ -6,7 +6,7 @@ // License. See LICENSE.TXT for details. // //===----------------------------------------------------------------------===// -#ifdef VIRTUAL +#ifdef DO_VIRTUAL_INHERITANCE #define VIRTUAL virtual #else #define VIRTUAL |

