#include <windows.h> #define IDC_STATIC (-1)
diff -urN PcsxSrc-1.5.orig\PsxCommon.h PcsxSrc-1.5\PsxCommon.h --- PcsxSrc-1.5.orig\PsxCommon.h Mon May 05 10:26:24 2003 +++ PcsxSrc-1.5\PsxCommon.h Thu May 15 02:42:22 2003 @@ -26,7 +26,7 @@ #include <zlib.h> #endif -#if defined(_MSC_VER_) +#if defined(__WIN32__) #include <windows.h>
PcsxSrc-1.4.zip を解凍したフォルダに pcsxmingw.patch をコピーします。 フォルダ上でコマンドプロンプトを実行して、
set PATH=%PATH%;c:\mingw\bin patch -d PcsxSrc -p1 < pcsxmingw.patch
と入力してパッチをあてます。
PcsxSrc\Win32 フォルダでコマンドプロンプトを実行して、
set PATH=%PATH%;c:\mingw\bin set INCLUDE=c:\mingw\include make
と入力してコンパイルを行います。