-
Notifications
You must be signed in to change notification settings - Fork 766
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 #50 from fancycode/fix_64bit_warnings
Fix various 64bit issues
- Loading branch information
Showing
6 changed files
with
142 additions
and
23 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
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,17 @@ | ||
#define WIN32_LEAN_AND_MEAN | ||
#ifndef _CRT_SECURE_NO_WARNINGS | ||
#define _CRT_SECURE_NO_WARNINGS | ||
#endif | ||
|
||
#include <windows.h> | ||
|
||
extern BOOL MemoryModuleTestsuite(); | ||
|
||
int main(int argc, char* argv[]) | ||
{ | ||
if (!MemoryModuleTestsuite()) { | ||
return 1; | ||
} | ||
|
||
return 0; | ||
} |
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,15 @@ | ||
#!/bin/bash | ||
set -eu | ||
PLATFORM=$1 | ||
shift | ||
|
||
if [ "${PLATFORM}" = "x86_64" ]; then | ||
export WINEPREFIX=${HOME}/.wine64/ | ||
WINE=wine64 | ||
else | ||
export WINEPREFIX=${HOME}/.wine/ | ||
WINE=wine | ||
fi | ||
export WINEPATH=/usr/lib/gcc/${PLATFORM}-w64-mingw32/4.6/ | ||
|
||
exec ${WINE} $@ |