[clblas] 50/67: fix VS 2015 build

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Tue Oct 27 08:02:15 UTC 2015


This is an automated email from the git hooks/post-receive script.

ghisvail-guest pushed a commit to branch master
in repository clblas.

commit 78770945fdc2a772adee95152981ed28144e0836
Author: Timmy <timmy.liu at amd.com>
Date:   Wed Oct 7 10:58:51 2015 -0700

    fix VS 2015 build
---
 src/include/msvc.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/include/msvc.h b/src/include/msvc.h
index 55e2ebf..0f6b985 100644
--- a/src/include/msvc.h
+++ b/src/include/msvc.h
@@ -27,7 +27,9 @@
 #define EOVERFLOW 1000
 #endif  /* EOVERFLOW */
 
+#if ( _MSC_VER < 1900 )
 #define snprintf _snprintf
+#endif
 
 typedef long ssize_t;
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/clblas.git



More information about the debian-science-commits mailing list