-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4966 from ziglang/bootstrap-windows
cmake: improvements to cross-compiling for Windows
- Loading branch information
Showing
10 changed files
with
71 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
LIBRARY "VERSION.dll" | ||
EXPORTS | ||
GetFileVersionInfoA@16 | ||
GetFileVersionInfoSizeA@8 | ||
GetFileVersionInfoSizeW@8 | ||
GetFileVersionInfoW@16 | ||
VerFindFileA@32 | ||
VerFindFileW@32 | ||
VerInstallFileA@32 | ||
VerInstallFileW@32 | ||
VerLanguageNameA@12 | ||
VerLanguageNameW@12 | ||
VerQueryValueA@16 | ||
VerQueryValueIndexA@24 | ||
VerQueryValueIndexW@24 | ||
VerQueryValueW@16 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
/** | ||
* This file has no copyright assigned and is placed in the Public Domain. | ||
* This file is part of the mingw-w64 runtime package. | ||
* No warranty is given; refer to the file DISCLAIMER.PD within this package. | ||
*/ | ||
|
||
#include <_mingw.h> | ||
|
||
extern int* __MINGW_IMP_SYMBOL(__mb_cur_max); | ||
|
||
int __cdecl ___mb_cur_max_func(void); | ||
int __cdecl ___mb_cur_max_func(void) | ||
{ | ||
return *__MINGW_IMP_SYMBOL(__mb_cur_max); | ||
} | ||
|
||
typedef int __cdecl (*_f___mb_cur_max_func)(void); | ||
_f___mb_cur_max_func __MINGW_IMP_SYMBOL(___mb_cur_max_func) = ___mb_cur_max_func; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters