Fix for x86_64-pc-mingw32

This commit is contained in:
Christophe Grenier 2010-09-11 17:58:22 +02:00
parent a7f7534d65
commit 4f2a1e433b
4 changed files with 22 additions and 4 deletions

View file

@ -5,8 +5,8 @@
VER_E2FSPROGS=
VER_PROGSREISERFS=0.3.1-rc8
VER_NTFSPROGS=2.0.0
#VER_LIBEWF=20080501
VER_LIBEWF=20090510
#VER_LIBEWF=20090510
VER_LIBEWF=20100226
crosscompile_target=
prefix=/usr/
if [ "$CC" = "gcc295" ];
@ -237,6 +237,9 @@ then
i386-mingw32)
$confdir/configure --host=$crosscompile_target --prefix=$prefix $CONFIGUREOPT --without-iconv --enable-missing-uuid-ok
;;
i686-pc-mingw32|x86_64-pc-mingw32)
$confdir/configure --host=$crosscompile_target --prefix=$prefix $CONFIGUREOPT --enable-missing-uuid-ok
;;
arm-marvell-linux-gnu)
$confdir/configure --host=$crosscompile_target --prefix=$prefix $CONFIGUREOPT --without-ewf --without-ntfs
;;
@ -253,4 +256,3 @@ then
cd $pwd_saved
fi
fi

View file

@ -39,6 +39,12 @@
#include <setjmp.h>
#endif
#ifdef HAVE_JPEGLIB_H
#ifdef __MINGW32__
#ifndef HAVE_BOOLEAN
#define HAVE_BOOLEAN
typedef int boolean;
#endif
#endif
#include <jpeglib.h>
#include "suspend.h"
#endif

View file

@ -42,6 +42,12 @@
#define AM_MEMORY_MANAGER /* we define jvirt_Xarray_control structs */
#ifdef HAVE_JPEGLIB_H
#ifdef __MINGW32__
#ifndef HAVE_BOOLEAN
#define HAVE_BOOLEAN
typedef int boolean;
#endif
#endif
#include <jpeglib.h>
#endif
#include "types.h"

View file

@ -6,12 +6,16 @@ The Windows version of TestDisk & PhotoRec should work under
- Windows Vista
- Windows Server 2008
- Windows 7
On Windows 64-bit, WoW64 (Windows 32-bit On Windows 64-bit) is required to run
these 32-bit executables.
For Windows 64-bit without WoW64, use the Windows 64-bit version of TestDisk
& PhotoRec.
If you are using an older version of Windows, run the DOS version of TestDisk.
You can download it from http://www.cgsecurity.org/wiki/TestDisk_Download
TestDisk doesn't need to be installed, you only need to
- extract the directory "win" and its subdirectory "win\c"
- extract the files
- run testdisk_win.exe or photorec_win.exe
TestDisk & PhotoRec documentation can be found online: