changeset 517:00e9371a84f3

[xemacs-hg @ 2001-05-08 05:16:01 by martinb] correct bug in previous patch re: bsdi g++ support
author martinb
date Tue, 08 May 2001 05:16:05 +0000
parents 8a4db099aa97
children e6e7cbdea419
files src/ChangeLog src/s/bsdos4.h
diffstat 2 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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  <martin@xemacs.org>
+
+	* s/bsdos4.h: Protect C code with #ifndef NOT_C_CODE.
+
 2000-04-22  zhaoway  <zw@debian.org>
 
 	* event-stream.c (is_scrollbar_event): Return 0 when XEmacs is
--- 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