qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From acon...@apache.org
Subject qpid-proton git commit: PROTON-865: Fix cstdint #ifdef to use proper C++11 test.
Date Mon, 17 Aug 2015 20:49:56 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/cjansen-cpp-client 6bef190d4 -> 91d7c6227


PROTON-865: Fix cstdint #ifdef to use proper C++11 test.


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/91d7c622
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/91d7c622
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/91d7c622

Branch: refs/heads/cjansen-cpp-client
Commit: 91d7c622711d0d757f9071398511b5f31b25d0c5
Parents: 6bef190
Author: Alan Conway <aconway@redhat.com>
Authored: Mon Aug 17 16:44:57 2015 -0400
Committer: Alan Conway <aconway@redhat.com>
Committed: Mon Aug 17 16:48:18 2015 -0400

----------------------------------------------------------------------
 proton-c/bindings/cpp/include/proton/cstdint.hpp | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/91d7c622/proton-c/bindings/cpp/include/proton/cstdint.hpp
----------------------------------------------------------------------
diff --git a/proton-c/bindings/cpp/include/proton/cstdint.hpp b/proton-c/bindings/cpp/include/proton/cstdint.hpp
index 9f91e5f..e6404d1 100644
--- a/proton-c/bindings/cpp/include/proton/cstdint.hpp
+++ b/proton-c/bindings/cpp/include/proton/cstdint.hpp
@@ -27,11 +27,7 @@
  * Not the full cstdint, just the type needed by proton.
  */
 
-#ifndef PN_HAS_CSTDINT
-#define PN_HAS_CSTDINT __cplusplus >= 201100
-#endif
-
-#if PN_HAS_CSTDINT
+#ifdef USE_CPP11
 #include <cstdint>
 #else
 #include <proton/type_compat.h>


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message