PROTON-1379: [C++ binding] Add #if'd #include <functional> [closes #92]
Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/cd6ecc5f Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/cd6ecc5f Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/cd6ecc5f Branch: refs/heads/go1 Commit: cd6ecc5fd9cc29cd2fa594c59166dd9d432fd4b9 Parents: 673c75e Author: Jiri Danek <jda...@redhat.com> Authored: Fri Dec 23 15:18:28 2016 +0100 Committer: Andrew Stitcher <astitc...@apache.org> Committed: Fri Dec 23 10:48:31 2016 -0500 ---------------------------------------------------------------------- proton-c/bindings/cpp/include/proton/container.hpp | 3 +++ 1 file changed, 3 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/cd6ecc5f/proton-c/bindings/cpp/include/proton/container.hpp ---------------------------------------------------------------------- diff --git a/proton-c/bindings/cpp/include/proton/container.hpp b/proton-c/bindings/cpp/include/proton/container.hpp index 0c40f3d..6f10c3c 100644 --- a/proton-c/bindings/cpp/include/proton/container.hpp +++ b/proton-c/bindings/cpp/include/proton/container.hpp @@ -29,6 +29,9 @@ #include "./internal/export.hpp" #include "./internal/pn_unique_ptr.hpp" +#ifdef PN_CPP_HAS_STD_FUNCTION +#include <functional> +#endif #include <string> namespace proton { --------------------------------------------------------------------- To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org For additional commands, e-mail: commits-h...@qpid.apache.org