[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch: CVS 1.11.17 Windows Build Broken
From: |
Conrad T. Pino |
Subject: |
Patch: CVS 1.11.17 Windows Build Broken |
Date: |
Thu, 10 Jun 2004 10:42:08 -0700 |
./windows-NT/ChangeLog:
* config.h.in: Add "inline" & "SIZE_MAX" macros for "xsize.h" header.
* config.h: Regenerated for "config.h.in" change.
(Patch from Conrad T. Pino <Conrad@Pino.com>.)
Index: windows-NT/config.h.in
===================================================================
RCS file: /cvs/ccvs/windows-NT/config.h.in,v
retrieving revision 1.1.2.1
diff -u -p -r1.1.2.1 config.h.in
--- windows-NT/config.h.in 4 Jun 2003 17:36:08 -0000 1.1.2.1
+++ windows-NT/config.h.in 10 Jun 2004 17:34:57 -0000
@@ -448,3 +448,17 @@ typedef int ssize_t;
* place the version string needs to be updated by hand for a new release.
*/
#define PACKAGE_STRING "Concurrent Versions System (CVS) %PACKAGE_VERSION%"
+
+/* The following were added to make #include "xsize.h" work. */
+
+/* Define to `__inline__' or `__inline' if that's what the C compiler
+ calls it, or to nothing if 'inline' is not supported under any name. */
+#ifndef __cplusplus
+#define inline __inline
+#endif
+
+/* Define as the maximum value of type 'size_t', if the system doesn't define
+ it. */
+#define SIZE_MAX (~(size_t)0)
+
+/* End of #include "xsize.h" fix. */
- Patch: CVS 1.11.17 Windows Build Broken,
Conrad T. Pino <=