Use of strcasecmp() broke Visual C++.
[xboard.git] / winboard / config.h
index 9a99266..01c77a9 100644 (file)
@@ -1,13 +1,5 @@
 /* config.h.in.  Generated automatically from configure.in by autoheader.  */\r
 \r
-/* [HGM] Defining ADJUDICATE switches on rep-draw and insuf-material draws */\r
-#define ADJUDICATE\r
-\r
-/* [HGM] Defining FAIRY allows different K- & Q-side piece symbols */\r
-#define FAIRY\r
-\r
-#define GOTHIC "Gothic Chess (see www.GothicChess.com) is licensed under U.S. Patent #6,481,716 by Ed Trice"\r
-#define FALCON "Falcon Chess (see www.chessvariants.com) is licensed under U.S. Patent #5,690,334 by George W. Duke"\r
 \r
 /* Define if you have <sys/wait.h> that is POSIX.1 compatible.  */\r
 /*#undef HAVE_SYS_WAIT_H*/\r
@@ -36,9 +28,7 @@
 #define HAVE_GETTIMEOFDAY 0\r
 \r
 /* Use our own random() defined in winboard.c. */\r
-#define HAVE_RANDOM 1\r
-#define random myrandom\r
-#define srandom mysrandom\r
+#define HAVE_RANDOM 0\r
 \r
 #define HAVE_SYS_SOCKET_H 0\r
 \r
 \r
 #define LAST_PTY_LETTER 'q'\r
 \r
-#define PATCHLEVEL "14k"\r
+/* Name of package */\r
+#define PACKAGE "WinBoard"\r
+\r
+/* Define to the address where bug reports for this package should be sent. */\r
+#define PACKAGE_BUGREPORT "bug-xboard@gnu.org"\r
+\r
+/* Define to the full name of this package. */\r
+#define PACKAGE_NAME "WinBoard"\r
 \r
-#define PRODUCT "WinBoard"\r
+/* Define to the full name and version of this package. */\r
+#define PACKAGE_STRING "WinBoard 4.4.0"\r
+\r
+/* Define to the one symbol short name of this package. */\r
+#define PACKAGE_TARNAME "winboard"\r
+\r
+/* Define to the version of this package. */\r
+#define PACKAGE_VERSION "4.4.0"\r
 \r
 #define PTY_ITERATION\r
 \r
@@ -64,8 +68,6 @@
 \r
 #define USE_PTYS 0\r
 \r
-#define VERSION "4.3"\r
-\r
 /*#undef X_WCHAR*/\r
 \r
 #ifndef __BORLANDC__\r
 #define _strdup(x) strdup(x)\r
 #define STRICT\r
 #define _winmajor 3  /* windows 95 */\r
-#define SCF_DEFAULT 0x0000\r
-#define SCF_ALL 0x0004\r
 #endif\r
 \r
+/* Some definitions required by MSVC 4.1 */ \r
+#ifndef WM_MOUSEWHEEL \r
+#define WM_MOUSEWHEEL 0x020A \r
+#endif \r
+#ifndef SCF_DEFAULT \r
+#define SCF_DEFAULT 0x0000 \r
+#define SCF_ALL 0x0004 \r
+#endif \r
+\r
+#ifdef _MSC_VER\r
+#define snprintf _snprintf\r
+#define strcasecmp _stricmp\r
+#endif\r