diff --git a/src/drivers/win/res.rc b/src/drivers/win/res.rc index 0d1b9eb7..fb8e0743 100644 --- a/src/drivers/win/res.rc +++ b/src/drivers/win/res.rc @@ -7,7 +7,8 @@ // // Generated from the TEXTINCLUDE 2 resource. // -#include "afxres.h" +#include "afxres.h" + ///////////////////////////////////////////////////////////////////////////// #undef APSTUDIO_READONLY_SYMBOLS @@ -1765,7 +1766,8 @@ IDB_TE_ARROW BITMAP "res/te_arrow.bmp" // // Generated from the TEXTINCLUDE 3 resource. // - + + ///////////////////////////////////////////////////////////////////////////// #endif // not APSTUDIO_INVOKED diff --git a/src/types.h b/src/types.h index 8eccf574..b9662f46 100644 --- a/src/types.h +++ b/src/types.h @@ -47,7 +47,9 @@ typedef signed int int32; #define mkdir _mkdir #define alloca _alloca #define snprintf _snprintf +#if _MSC_VER < 1500 #define vsnprintf _vsnprintf +#endif #define W_OK 2 #define R_OK 2 #define X_OK 1 diff --git a/vc/vc9_fceux.vcproj b/vc/vc9_fceux.vcproj index 21eea27c..4c3ea7fc 100644 --- a/vc/vc9_fceux.vcproj +++ b/vc/vc9_fceux.vcproj @@ -1113,6 +1113,10 @@ RelativePath="..\src\drivers\win\monitor.h" > + +