summaryrefslogtreecommitdiffstats
path: root/src/qtxmlpatterns-1.patch
blob: c78d7e3774829d5ad54a56b9b4f7fb4397b62910 (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 5a2c60539f7cf6626bbeef3cca44aa172a64cc23 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 0f1ee4f..2fdebb1 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