]> git.pld-linux.org Git - packages/crossmingw32-gcc.git/blobdiff - gcc-mingw32.patch
- updated to 5.4.0 (with C++14 support)
[packages/crossmingw32-gcc.git] / gcc-mingw32.patch
diff --git a/gcc-mingw32.patch b/gcc-mingw32.patch
new file mode 100644 (file)
index 0000000..40d2adb
--- /dev/null
@@ -0,0 +1,12 @@
+--- gcc-5.4.0/libgfortran/intrinsics/chmod.c.orig      2016-12-18 10:38:13.034904609 +0100
++++ gcc-5.4.0/libgfortran/intrinsics/chmod.c   2016-12-18 10:38:15.398237920 +0100
+@@ -30,6 +30,9 @@
+ #include <string.h>   /* For memcpy. */
+ #include <stdlib.h>   /* For free.  */
+ #include <sys/stat.h> /* For stat, chmod and umask.  */
++#ifdef __MINGW32__
++#include <io.h>
++#endif
+ /* INTEGER FUNCTION CHMOD (NAME, MODE)
This page took 0.034678 seconds and 4 git commands to generate.