aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/qml/qml/v4/qv4mm.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/qml/qml/v4/qv4mm.cpp b/src/qml/qml/v4/qv4mm.cpp
index 56d490c077..05c0db91b1 100644
--- a/src/qml/qml/v4/qv4mm.cpp
+++ b/src/qml/qml/v4/qv4mm.cpp
@@ -157,12 +157,8 @@ MemoryManager::MemoryManager()
m_d->stackTop = static_cast<quintptr *>(stackBottom) + stackSize/sizeof(quintptr);
# endif
#elif OS(WINDOWS)
-# if COMPILER(MSVC)
PNT_TIB tib = (PNT_TIB)NtCurrentTeb();
m_d->stackTop = static_cast<quintptr*>(tib->StackBase);
-# else
-# error "Unsupported compiler: no way to get the top-of-stack."
-# endif
#else
# error "Unsupported platform: no way to get the top-of-stack."
#endif