summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tests/auto/qdbustype/tst_qdbustype.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/auto/qdbustype/tst_qdbustype.cpp b/tests/auto/qdbustype/tst_qdbustype.cpp
index 0469719..676a904 100644
--- a/tests/auto/qdbustype/tst_qdbustype.cpp
+++ b/tests/auto/qdbustype/tst_qdbustype.cpp
@@ -85,7 +85,9 @@ static void addFixedTypes()
QTest::newRow("int64") << DBUS_TYPE_INT64_AS_STRING << true << true;
QTest::newRow("uint64") << DBUS_TYPE_UINT64_AS_STRING << true << true;
QTest::newRow("double") << DBUS_TYPE_DOUBLE_AS_STRING << true << true;
- QTest::newRow("unixfd") << "h" << true << true;
+#ifdef DBUS_TYPE_UNIX_FD_AS_STRING
+ QTest::newRow("unixfd") << DBUS_TYPE_UNIX_FD_AS_STRING << true << true;
+#endif
}
static void addInvalidSingleLetterTypes()