From 049a72ff20a4798ae27170b4de885443838dc168 Mon Sep 17 00:00:00 2001
From: Roman Telezhynskyi <kroluku@gmail.com>
Date: Tue, 20 Dec 2016 22:55:40 +0200
Subject: [PATCH] "C3861: 'snprintf': identifier not found" with VS2013 and
 prior.

--HG--
branch : develop
---
 src/libs/vdxf/dxflib/dl_writer_ascii.h | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/libs/vdxf/dxflib/dl_writer_ascii.h b/src/libs/vdxf/dxflib/dl_writer_ascii.h
index 04ef3b0df..9d7084e9f 100644
--- a/src/libs/vdxf/dxflib/dl_writer_ascii.h
+++ b/src/libs/vdxf/dxflib/dl_writer_ascii.h
@@ -33,6 +33,10 @@
     #if (_MSC_VER > 1000)
     #pragma once
     #endif // _MSC_VER > 1000
+
+    #if _MSC_VER < 1900
+    #define snprintf _snprintf
+    #endif
 #endif // Q_CC_MSVC
 
 #include <fstream>