From 32e437b1244e7bf45011e4fd770fc0eef40d02de Mon Sep 17 00:00:00 2001
From: Debao Zhang <hello@debao.me>
Date: Mon, 30 Mar 2015 13:22:13 +0800
Subject: [PATCH] Fix MSVC warning C4005: 'JAS_WIN_MSVC_BUILD' : macro
 redefinition

This macro has been defined in the jasper.pri file:
msvc: DEFINES += JAS_WIN_MSVC_BUILD

Change-Id: I3ac06e4f373c59ded4e3c2ebfa6f50e40a3c83ae
Reviewed-by: aavit <eirik.aavitsland@theqtcompany.com>
---
 src/plugins/imageformats/jp2/qjp2handler.cpp | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/src/plugins/imageformats/jp2/qjp2handler.cpp b/src/plugins/imageformats/jp2/qjp2handler.cpp
index 3c1958ef..f69538cc 100644
--- a/src/plugins/imageformats/jp2/qjp2handler.cpp
+++ b/src/plugins/imageformats/jp2/qjp2handler.cpp
@@ -38,9 +38,6 @@
 #include "qvariant.h"
 #include "qcolor.h"
 
-#ifdef Q_CC_MSVC
-#define JAS_WIN_MSVC_BUILD
-#endif
 #include <jasper/jasper.h>
 
 QT_BEGIN_NAMESPACE
-- 
GitLab