X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=winboard%2Fconfig.h;h=b1a8f7287fde431d38633070255e0e600fe5ffb0;hb=739a44fd95050c7986678c41f655bc89cfce7f0d;hp=c10b2fc3e68ffa8fc519b89f66d5acfce867d2a4;hpb=de42af2c838bd38f306bc2c67d0c74dd1125d86b;p=xboard.git diff --git a/winboard/config.h b/winboard/config.h index c10b2fc..b1a8f72 100644 --- a/winboard/config.h +++ b/winboard/config.h @@ -1,5 +1,6 @@ /* config.h.in. Generated automatically from configure.in by autoheader. */ + /* Define if you have that is POSIX.1 compatible. */ /*#undef HAVE_SYS_WAIT_H*/ @@ -27,9 +28,7 @@ #define HAVE_GETTIMEOFDAY 0 /* Use our own random() defined in winboard.c. */ -#define HAVE_RANDOM 1 -#define random myrandom -#define srandom mysrandom +#define HAVE_RANDOM 0 #define HAVE_SYS_SOCKET_H 0 @@ -37,7 +36,7 @@ #define LAST_PTY_LETTER 'q' -#define PATCHLEVEL "pre7" +#define PATCHLEVEL "0j" #define PRODUCT "WinBoard" @@ -55,7 +54,7 @@ #define USE_PTYS 0 -#define VERSION "4.2" +#define VERSION "4.4" /*#undef X_WCHAR*/ @@ -127,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