[pytango] 270/483: patch to work with all Tango C++ 8.1.x versions
Sandor Bodo-Merle
sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:49 UTC 2017
This is an automated email from the git hooks/post-receive script.
sbodomerle-guest pushed a commit to annotated tag bliss_8.10
in repository pytango.
commit 5311e9f5785867f0208fe2b21745ccf25eaead5a
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date: Tue Jul 16 12:50:38 2013 +0000
patch to work with all Tango C++ 8.1.x versions
git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@23138 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
src/boost/cpp/constants.cpp | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
diff --git a/src/boost/cpp/constants.cpp b/src/boost/cpp/constants.cpp
index 7564355..d4f4a36 100644
--- a/src/boost/cpp/constants.cpp
+++ b/src/boost/cpp/constants.cpp
@@ -188,8 +188,11 @@ void export_constants()
consts_scope.attr("UnitNotSpec") = UnitNotSpec;
consts_scope.attr("StdUnitNotSpec") = StdUnitNotSpec;
consts_scope.attr("DispUnitNotSpec") = DispUnitNotSpec;
+#ifdef FormatNotSpec
consts_scope.attr("FormatNotSpec") = FormatNotSpec;
-
+#else
+ consts_scope.attr("FormatNotSpec") = FormatNotSpec_FL;
+#endif
consts_scope.attr("FormatNotSpec_FL") = FormatNotSpec_FL;
consts_scope.attr("FormatNotSpec_INT") = FormatNotSpec_INT;
consts_scope.attr("FormatNotSpec_STR") = FormatNotSpec_STR;
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/pytango.git
More information about the debian-science-commits
mailing list