[arrayfire] 374/408: Fixes for snprintf on windows

Ghislain Vaillant ghisvail-guest at moszumanska.debian.org
Mon Sep 21 19:12:34 UTC 2015


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

ghisvail-guest pushed a commit to branch debian/sid
in repository arrayfire.

commit e0b8b5b22df4a8c4641ec948db24c5dc45082d67
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date:   Sat Aug 29 12:39:11 2015 -0400

    Fixes for snprintf on windows
    
    * Non-graphics build fails with snprintf errors in opencl magma
---
 src/backend/opencl/magma/magma_cpu_blas.h   | 1 +
 src/backend/opencl/magma/magma_cpu_lapack.h | 1 +
 2 files changed, 2 insertions(+)

diff --git a/src/backend/opencl/magma/magma_cpu_blas.h b/src/backend/opencl/magma/magma_cpu_blas.h
index 9375c67..6ae4f8f 100644
--- a/src/backend/opencl/magma/magma_cpu_blas.h
+++ b/src/backend/opencl/magma/magma_cpu_blas.h
@@ -10,6 +10,7 @@
 #ifndef MAGMA_CPU_BLAS
 #define MAGMA_CPU_BLAS
 #include <err_common.hpp>
+#include <defines.hpp>
 #include "magma_types.h"
 
 #ifdef __APPLE__
diff --git a/src/backend/opencl/magma/magma_cpu_lapack.h b/src/backend/opencl/magma/magma_cpu_lapack.h
index f737acb..5974dab 100644
--- a/src/backend/opencl/magma/magma_cpu_lapack.h
+++ b/src/backend/opencl/magma/magma_cpu_lapack.h
@@ -11,6 +11,7 @@
 #define MAGMA_CPU_LAPACK
 
 #include <err_common.hpp>
+#include <defines.hpp>
 #include "magma_types.h"
 
 #define LAPACKE_sunmqr_work(...) LAPACKE_sormqr_work(__VA_ARGS__)

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



More information about the debian-science-commits mailing list