Skip to content

Commit 1989bc3

Browse files
committed
fix build error on Visual Studio 2012
1 parent 10e6491 commit 1989bc3

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

modules/dnn/src/torch/THDiskFile.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@
33
#include "THGeneral.h"
44
#include "THDiskFile.h"
55
#include "THFilePrivate.h"
6+
#if defined(_MSC_VER) && 1600 <= _MSC_VER
7+
#include <cstdint>
8+
#endif
69

710
namespace TH
811
{

0 commit comments

Comments
 (0)