unbreak build with -fno-operator-names
ok jca@
This commit is contained in:
parent
d66cbc7cb9
commit
9579e5f40e
16
devel/kf5/kactivities/patches/patch-autotests_common_test_h
Normal file
16
devel/kf5/kactivities/patches/patch-autotests_common_test_h
Normal 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
|
Loading…
Reference in New Issue
Block a user