From faefc09e93f99b86820ca50495351825059dc3c9 Mon Sep 17 00:00:00 2001 From: Fabian Bumberger Date: Thu, 21 Feb 2013 18:57:51 +0100 Subject: Fix qfile autotest on qnx This fixes the compilation of the qfile autotest on qnx. Change-Id: Iab099e8b754a4341152e338ff6e3d22a83c625e3 Reviewed-by: Thomas McGuire --- tests/auto/corelib/io/qfile/tst_qfile.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests') diff --git a/tests/auto/corelib/io/qfile/tst_qfile.cpp b/tests/auto/corelib/io/qfile/tst_qfile.cpp index df7b397481..6fa222dd72 100644 --- a/tests/auto/corelib/io/qfile/tst_qfile.cpp +++ b/tests/auto/corelib/io/qfile/tst_qfile.cpp @@ -82,6 +82,12 @@ QT_END_NAMESPACE # include #endif +#ifdef Q_OS_QNX +#ifdef open +#undef open +#endif +#endif + #include #include -- cgit v1.2.3