"U-PAPABLUE\\Administrator" <stephen(a)xemacs.org> writes:
Not for Prime Time.
Proof of concept and a way to build for testers. But requires
recently updated Cygwin, I believe (old Cygwin will not get intptr_t
defined at all).
I'll try to cons up a configure-based solution, but can't promise
"immediately".
$ cvs diff -u src/lisp.h
Index: src/lisp.h
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/lisp.h,v
retrieving revision 1.45.2.7
diff -u -r1.45.2.7 lisp.h
--- src/lisp.h 2003/01/03 09:59:47 1.45.2.7
+++ src/lisp.h 2003/03/20 11:12:28
@@ -2264,6 +2264,9 @@
#ifdef HAVE_INTTYPES_H
#include <inttypes.h>
+#elif defined(__CYGWIN__)
+/* Cygwin defines these types in <cygwin/types.h>
+ We can hope that if they ever get inttypes.h, they won't define twice */
#elif SIZEOF_VOID_P == SIZEOF_INT
typedef int intptr_t;
typedef unsigned int uintptr_t;
Thanks for looking into cleaning up this mess, Stephen. Let me know
if you make progress on a real fix.
- Vin
--
In a minute there is time
For decisions and revisions which a minute will reverse. T.S. Eliot
[URL:
http://www.cs.amherst.edu/~ccm/prufrock.html]