unbreak build with -fno-operator-names

ok jca@
This commit is contained in:
rsadowski 2017-05-31 21:47:17 +00:00
parent d66cbc7cb9
commit 9579e5f40e

View File

@ -0,0 +1,16 @@
$OpenBSD: patch-autotests_common_test_h,v 1.1 2017/05/31 21:47:17 rsadowski Exp $
gcc error: missing binary operator before token "defined"
Index: autotests/common/test.h
--- autotests/common/test.h.orig
+++ autotests/common/test.h
@@ -140,7 +140,7 @@ Q_SIGNALS:
// Pretty print
#include <iostream>
-#if defined(Q_NO_DEBUG) or (not defined(Q_OS_LINUX))
+#if defined(Q_NO_DEBUG) || !defined(Q_OS_LINUX)
#define TEST_CHUNK(Name)
#else
inline