[pytango] 318/483: make it work on windows
Sandor Bodo-Merle
sbodomerle-guest at moszumanska.debian.org
Thu Sep 28 19:14:55 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 198b4ba8b0b7e277b81ac0734ba87b4a14aa668f
Author: tiagocoutinho <tiagocoutinho at 4e9c00fd-8f2e-0410-aa12-93ce3db5e235>
Date: Fri Nov 22 16:17:23 2013 +0000
make it work on windows
git-svn-id: http://svn.code.sf.net/p/tango-cs/code/bindings/PyTango/trunk@24347 4e9c00fd-8f2e-0410-aa12-93ce3db5e235
---
src/boost/cpp/constants.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/src/boost/cpp/constants.cpp b/src/boost/cpp/constants.cpp
index 9717a23..d45c9d5 100644
--- a/src/boost/cpp/constants.cpp
+++ b/src/boost/cpp/constants.cpp
@@ -31,7 +31,11 @@ void export_constants()
consts_scope.attr("NUMPY_VERSION") = "0.0.0";
#else
consts_scope.attr("NUMPY_SUPPORT") = true;
+#ifdef PYTANGO_NUMPY_VERSION
consts_scope.attr("NUMPY_VERSION") = PYTANGO_NUMPY_VERSION;
+#else
+ consts_scope.attr("NUMPY_VERSION") = "0.0.0";
+#endif
#endif
consts_scope.attr("PY_MAJOR_VERSION") = PY_MAJOR_VERSION;
--
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