File: wxMSW-2.9.1-w64-mslu.patch

package info (click to toggle)
libalien-wxwidgets-perl 0.67%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 1,248 kB
  • ctags: 439
  • sloc: perl: 5,359; sh: 51; makefile: 18
file content (16 lines) | stat: -rw-r--r-- 445 bytes parent folder | download | duplicates (7)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- src/msw/mslu.cpp	2010-01-07 22:38:40.000000000 +0100
+++ src/msw/mslu.cpp	2010-01-07 22:39:45.000000000 +0100
@@ -61,9 +61,12 @@
 #include <io.h>
 #include <sys/stat.h>
 
-#ifdef __VISUALC__
+#if defined(__VISUALC__) || defined(__MINGW64_VERSION_MAJOR)
     #include <direct.h>
 #endif
+#if defined(__MINGW64_VERSION_MAJOR)
+    #define stati64 _stati64
+#endif
 
 // Undef redirection macros defined in wx/msw/wrapwin.h:
 #undef DrawStateW