[arrayfire] 30/79: Add defines.hpp to opencl files where snprintf is required on windows
Ghislain Vaillant
ghisvail-guest at moszumanska.debian.org
Mon Jun 15 13:38:05 UTC 2015
This is an automated email from the git hooks/post-receive script.
ghisvail-guest pushed a commit to branch master
in repository arrayfire.
commit de3ad6c3c5a9ca0bf613b244a1b07a3525c670ad
Author: Shehzan Mohammed <shehzan at arrayfire.com>
Date: Mon Jun 8 16:03:09 2015 -0400
Add defines.hpp to opencl files where snprintf is required on windows
* This fixes 02d9076
---
src/backend/opencl/magma/magma_blas.h | 1 +
src/backend/opencl/platform.cpp | 1 +
2 files changed, 2 insertions(+)
diff --git a/src/backend/opencl/magma/magma_blas.h b/src/backend/opencl/magma/magma_blas.h
index 4dc349c..8314bb7 100644
--- a/src/backend/opencl/magma/magma_blas.h
+++ b/src/backend/opencl/magma/magma_blas.h
@@ -11,6 +11,7 @@
#define __MAGMA_BLAS_H
#include "magma_common.h"
+#include <defines.hpp>
#include <types.hpp>
#include <clBLAS.h>
#include <err_clblas.hpp>
diff --git a/src/backend/opencl/platform.cpp b/src/backend/opencl/platform.cpp
index b47db41..952996a 100644
--- a/src/backend/opencl/platform.cpp
+++ b/src/backend/opencl/platform.cpp
@@ -16,6 +16,7 @@
#include <af/version.h>
#include <af/opencl.h>
+#include <defines.hpp>
#include <platform.hpp>
#include <functional>
#include <algorithm>
--
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