summaryrefslogtreecommitdiffstats
path: root/src/qtxmlpatterns-1.patch
blob: bb86820707090365c7946866cb8b16cb98b6e052 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
This file is part of MXE.
See index.html for further information.

From 58ae17b18cea09c1fd3f8ec6912913e147f1f8f5 Mon Sep 17 00:00:00 2001
From: Mark Brand <mabrand@mabrand.nl>
Date: Sat, 18 May 2013 17:03:55 +0200
Subject: [PATCH] mingw build fix: _fileno


diff --git a/tools/xmlpatterns/xmlpatterns.pro b/tools/xmlpatterns/xmlpatterns.pro
index 1fad197..2bbf5b5 100644
--- a/tools/xmlpatterns/xmlpatterns.pro
+++ b/tools/xmlpatterns/xmlpatterns.pro
@@ -11,6 +11,7 @@ HEADERS = main.h                            \
           qapplicationargument.cpp          \
           qapplicationargumentparser.cpp    
 
+win32-g++*:QMAKE_CXXFLAGS += -U__STRICT_ANSI__
 load(qt_tool)
 
 # with c++11 / __STRICT_ANSI__ mingw.org stdio.h doesn't declare e.g. _fileno
-- 
1.8.4.5