FakeVim: fix building tests with Qt 6.9

moc creates files using the identifier 'N' which breaks
after #define N '\n' followed by #include "xxx.moc" later.

Change-Id: I271b1f2aec737a75e5c2f8b2026056583d894b05
Reviewed-by: hjk <hjk@qt.io>
This commit is contained in:
David Schulz
2024-12-10 10:53:26 +01:00
parent 3b09ecbfa2
commit f2cb102c77

View File

@@ -5058,5 +5058,7 @@ void FakeVimTester::test_vim_qtcreator()
} // FakeVim::Internal } // FakeVim::Internal
#include "fakevim_test.moc" #undef N
#undef X
#include "fakevim_test.moc"