From ebf25cedbaf18c085fc7fe99f556f0ca0ef73b86 Mon Sep 17 00:00:00 2001
From: Henry Schreiner <henry.fredrick.schreiner@cern.ch>
Date: Mon, 11 Feb 2019 16:38:19 +0100
Subject: [PATCH] Test for not function in the stdlib

---
 core/foundation/test/testNotFn.cxx | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/core/foundation/test/testNotFn.cxx b/core/foundation/test/testNotFn.cxx
index 601aaba98b6..8dc6804f426 100644
--- a/core/foundation/test/testNotFn.cxx
+++ b/core/foundation/test/testNotFn.cxx
@@ -1,4 +1,7 @@
-#if __cplusplus < 201703L && !defined(_MSC_VER)
+// Including functional for __cpp_lib_not_fn
+#include <functional>
+
+#ifdef __cpp_lib_not_fn
 
 #include "ROOT/RNotFn.hxx"
 
-- 
GitLab