[opencv] 117/251: fix build error on Visual Studio 2012
Nobuhiro Iwamatsu
iwamatsu at moszumanska.debian.org
Sun Aug 27 23:27:33 UTC 2017
This is an automated email from the git hooks/post-receive script.
iwamatsu pushed a commit to annotated tag 3.3.0
in repository opencv.
commit 1989bc33a772198abc7f85fd215a2430790485ec
Author: Tomoaki Teshima <tomoaki.teshima at gmail.com>
Date: Thu Jul 20 08:27:02 2017 +0900
fix build error on Visual Studio 2012
---
modules/dnn/src/torch/THDiskFile.cpp | 3 +++
1 file changed, 3 insertions(+)
diff --git a/modules/dnn/src/torch/THDiskFile.cpp b/modules/dnn/src/torch/THDiskFile.cpp
index 5f63ced..ce5a5d8 100644
--- a/modules/dnn/src/torch/THDiskFile.cpp
+++ b/modules/dnn/src/torch/THDiskFile.cpp
@@ -3,6 +3,9 @@
#include "THGeneral.h"
#include "THDiskFile.h"
#include "THFilePrivate.h"
+#if defined(_MSC_VER) && 1600 <= _MSC_VER
+#include <cstdint>
+#endif
namespace TH
{
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/opencv.git
More information about the debian-science-commits
mailing list