summaryrefslogtreecommitdiffstats
path: root/config.tests/unix/futimens/futimens.pro
diff options
context:
space:
mode:
Diffstat (limited to 'config.tests/unix/futimens/futimens.pro')
-rw-r--r--config.tests/unix/futimens/futimens.pro6
1 files changed, 6 insertions, 0 deletions
diff --git a/config.tests/unix/futimens/futimens.pro b/config.tests/unix/futimens/futimens.pro
new file mode 100644
index 0000000000..83a122252a
--- /dev/null
+++ b/config.tests/unix/futimens/futimens.pro
@@ -0,0 +1,6 @@
+SOURCES += futimens.cpp
+
+# Block futimens() on Apple platforms unless it's available on ALL deployment
+# targets. This simplifies the logic at the call site dramatically, as it isn't
+# strictly needed compared to futimes().
+darwin: QMAKE_CXXFLAGS += -Werror=unguarded-availability