X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fconfig.h;h=b1a8f7287fde431d38633070255e0e600fe5ffb0;hb=739a44fd95050c7986678c41f655bc89cfce7f0d;hp=32aceb106d0ce6f811b91c0156324176b59cfdd2;hpb=74025874f2010f84fd4f7f2e120e84b56ee9781b;p=xboard.git diff --git a/winboard/config.h b/winboard/config.h index 32aceb1..b1a8f72 100644 --- a/winboard/config.h +++ b/winboard/config.h @@ -36,7 +36,7 @@ #define LAST_PTY_LETTER 'q' -#define PATCHLEVEL "15k" +#define PATCHLEVEL "0j" #define PRODUCT "WinBoard" @@ -54,7 +54,7 @@ #define USE_PTYS 0 -#define VERSION "4.3" +#define VERSION "4.4" /*#undef X_WCHAR*/ @@ -126,7 +126,17 @@ #define _strdup(x) strdup(x) #define STRICT #define _winmajor 3 /* windows 95 */ -#define SCF_DEFAULT 0x0000 -#define SCF_ALL 0x0004 #endif +/* Some definitions required by MSVC 4.1 */ +#ifndef WM_MOUSEWHEEL +#define WM_MOUSEWHEEL 0x020A +#endif +#ifndef SCF_DEFAULT +#define SCF_DEFAULT 0x0000 +#define SCF_ALL 0x0004 +#endif + +#ifdef _MSC_VER +#define snprintf _snprintf +#endif