X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fconfig.h;h=b1a8f7287fde431d38633070255e0e600fe5ffb0;hb=739a44fd95050c7986678c41f655bc89cfce7f0d;hp=bc657f543cc24d29a3b3520de08ae0ee9040201f;hpb=762e18baef5f815cc46019ba3e082bd5ec1980f6;p=xboard.git diff --git a/winboard/config.h b/winboard/config.h index bc657f5..b1a8f72 100644 --- a/winboard/config.h +++ b/winboard/config.h @@ -36,7 +36,7 @@ #define LAST_PTY_LETTER 'q' -#define PATCHLEVEL "15m" +#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