mirror of
https://codeberg.org/guix/guix.git
synced 2025-10-02 02:15:12 +00:00
gnu: Add mingw-w64.
* gnu/packages/patches/gcc-4.9.3-mingw-gthr-default.patch, gnu/packages/patches/mingw-w64-5.0rc2-gcc-4.9.3.patch, gnu/packages/mingw.scm: New files. * gnu/local.mk (dist_patch_DATA): Add the patches. (GNU_SYSTEM_MODULES): Add mingw.scm.
This commit is contained in:
parent
9747d189e0
commit
cf0ef075c4
4 changed files with 316 additions and 0 deletions
11
gnu/packages/patches/gcc-4.9.3-mingw-gthr-default.patch
Normal file
11
gnu/packages/patches/gcc-4.9.3-mingw-gthr-default.patch
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- a/libgcc/config/i386/gthr-win32.h 2016-03-30 07:45:33.388684463 +0200
|
||||
+++ b/libgcc/config/i386/gthr-win32.h 2016-03-30 15:51:24.123896436 +0200
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
/* Make sure CONST_CAST2 (origin in system.h) is declared. */
|
||||
#ifndef CONST_CAST2
|
||||
-#define CONST_CAST2(TOTYPE,FROMTYPE,X) ((__extension__(union {FROMTYPE _q; TOTYPE _nq;})(X))._nq)
|
||||
+#define CONST_CAST2(TOTYPE,FROMTYPE,X) ((TOTYPE)X)
|
||||
#endif
|
||||
|
||||
/* Windows32 threads specific definitions. The windows32 threading model
|
Loading…
Add table
Add a link
Reference in a new issue