# HG changeset patch # User martinb # Date 989298965 0 # Node ID 00e9371a84f3e01a0adb92411b7bd4ad077fe09c # Parent 8a4db099aa976e61467a1e1338abfe3b2463e4a7 [xemacs-hg @ 2001-05-08 05:16:01 by martinb] correct bug in previous patch re: bsdi g++ support diff -r 8a4db099aa97 -r 00e9371a84f3 src/ChangeLog --- a/src/ChangeLog Mon May 07 14:55:14 2001 +0000 +++ b/src/ChangeLog Tue May 08 05:16:05 2001 +0000 @@ -1,3 +1,7 @@ +2001-05-08 Martin Buchholz + + * s/bsdos4.h: Protect C code with #ifndef NOT_C_CODE. + 2000-04-22 zhaoway * event-stream.c (is_scrollbar_event): Return 0 when XEmacs is diff -r 8a4db099aa97 -r 00e9371a84f3 src/s/bsdos4.h --- a/src/s/bsdos4.h Mon May 07 14:55:14 2001 +0000 +++ b/src/s/bsdos4.h Tue May 08 05:16:05 2001 +0000 @@ -10,6 +10,8 @@ #endif /* ELF */ /* The declaration for openpty is missing. Where is libutil.h? */ +#ifndef NOT_C_CODE struct termios; struct winsize; int openpty (int *, int *, char *, struct termios *, struct winsize *); +#endif