diff options
author | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-03-24 07:04:23 (GMT) |
---|---|---|
committer | Rohan McGovern <rohan.mcgovern@nokia.com> | 2009-03-24 07:12:03 (GMT) |
commit | f5caf1998dea7dbad25dc6aed5a00fc33e8a5818 (patch) | |
tree | c1ad751f7700343686ce1e7dd9c91e8f00f33397 /src/testlib/qtestfilelogger.cpp | |
parent | 738e8391bc6037f7949d59781a6b2c64f5ca6a8a (diff) | |
download | Qt-f5caf1998dea7dbad25dc6aed5a00fc33e8a5818.zip Qt-f5caf1998dea7dbad25dc6aed5a00fc33e8a5818.tar.gz Qt-f5caf1998dea7dbad25dc6aed5a00fc33e8a5818.tar.bz2 |
Fixes compile of testlib when Qt is configured with `-qtnamespace'.
Reviewed-by: Andy Shaw
Diffstat (limited to 'src/testlib/qtestfilelogger.cpp')
-rw-r--r-- | src/testlib/qtestfilelogger.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/testlib/qtestfilelogger.cpp b/src/testlib/qtestfilelogger.cpp index 5bad653..f753b83 100644 --- a/src/testlib/qtestfilelogger.cpp +++ b/src/testlib/qtestfilelogger.cpp @@ -6,6 +6,8 @@ #include <stdlib.h> #include <stdio.h> +QT_BEGIN_NAMESPACE + namespace QTest { static FILE *stream = 0; @@ -47,3 +49,6 @@ void QTestFileLogger::flush(const char *msg) ::fputs(msg, QTest::stream); ::fflush(QTest::stream); } + +QT_END_NAMESPACE + |