File: wxMSW-3.0.1-defs.patch

package info (click to toggle)
libalien-wxwidgets-perl 0.69%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 1,220 kB
  • sloc: perl: 5,365; makefile: 19
file content (17 lines) | stat: -rw-r--r-- 591 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
--- include/wx/defs.h      2014-06-14 22:48:48.000000000 +0100
+++ include/wx/defs.h      2014-11-02 18:57:38.546856700 +0000
@@ -356,8 +356,13 @@
         #define HAVE_TR1_TYPE_TRAITS
     #endif
 #endif
+#if defined(__MINGW32__)
+    #if defined(HAVE_TR1_TYPE_TRAITS)
+        #undef HAVE_TR1_TYPE_TRAITS
+    #endif
+#endif

-#if defined(__has_include)
+#if defined(__has_include) && !defined(__MINGW32__)
     /*
         Notice that we trust our configure tests more than __has_include(),
         notably the latter can return true even if the header exists but isn't