Maintainence to support all compilers.
[xboard.git] / winboard / config.h
index a219a96..5eeb793 100644 (file)
 \r
 #define LAST_PTY_LETTER 'q'\r
 \r
-#define PATCHLEVEL "0j"\r
+/* Name of package */\r
+#define PACKAGE "WinBoard"\r
 \r
-#define PRODUCT "WinBoard"\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 to the full name and version of this package. */\r
+#define PACKAGE_STRING "WinBoard 4.4.1 pre"\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.1.pre"\r
+\r
+/* Define the Windows-specific FILE version info.  this *MUST* be four comma separated 16-bit integers */\r
+#define PACKAGE_FILEVERSION 4,4,1,0\r
 \r
 #define PTY_ITERATION\r
 \r
@@ -54,8 +71,6 @@
 \r
 #define USE_PTYS 0\r
 \r
-#define VERSION "4.4"\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
+#if _MSC_VER < 1500\r
+#define vsnprintf _vsnprintf\r
+#endif\r
 #endif\r