From: khan AT xraylith DOT wisc DOT edu (Mumit Khan) Subject: termcap-1.3 patch for cygwin32 b19 12 Mar 1998 05:30:42 -0800 Message-ID: <9803112251.AA23100.cygnus.gnu-win32@modi.xraylith.wisc.edu> To: gnu-win32 AT cygnus DOT com Here's a trivial patch against termcap 1.3 that allows a clean compile under b19. Wed Mar 11 16:43:27 1998 Mumit Khan * tparam.c: Move #define of bcopy to after #include . --- termcap-1.3/tparam.c.~1 Wed Mar 11 16:35:07 1998 +++ termcap-1.3/tparam.c Wed Mar 11 16:36:29 1998 @@ -20,16 +20,17 @@ the Free Software Foundation, 675 Mass A #include #else /* not HAVE_CONFIG_H */ -#if defined(HAVE_STRING_H) || defined(STDC_HEADERS) -#define bcopy(s, d, n) memcpy ((d), (s), (n)) -#endif - #ifdef STDC_HEADERS #include #include #else char *malloc (); char *realloc (); +#endif + +/* Do this after the include, in case string.h prototypes bcopy. */ +#if (defined(HAVE_STRING_H) || defined(STDC_HEADERS)) && !defined(bcopy) +#define bcopy(s, d, n) memcpy ((d), (s), (n)) #endif #endif /* not HAVE_CONFIG_H */ Regards, Mumit -- khan AT xraylith DOT wisc DOT edu http://www.xraylith.wisc.edu/~khan/ - For help on using this list (especially unsubscribing), send a message to "gnu-win32-request AT cygnus DOT com" with one line of text: "help".