CVS update by stephent xemacs/src ...

xemacs-cvs at xemacs.org xemacs-cvs at xemacs.org
Fri Jun 22 13:26:26 EDT 2007


  User: stephent
  Date: 07/06/22 19:26:26

  Modified:    xemacs/src ChangeLog sysdep.h
Log:
Fix C++ build per <87sl8j51tc.fsf at uwakimon.sk.tsukuba.ac.jp>

Revision  Changes    Path
1.1072    +4 -0      XEmacs/xemacs/src/ChangeLog

Index: ChangeLog
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/ChangeLog,v
retrieving revision 1.1071
retrieving revision 1.1072
diff -u -p -r1.1071 -r1.1072
--- ChangeLog	2007/06/22 17:15:34	1.1071
+++ ChangeLog	2007/06/22 17:26:20	1.1072
@@ -1,5 +1,9 @@
 2007-06-23  Stephen J. Turnbull  <stephen at xemacs.org>
 
+	* sysdep.h (environ): Needs to be in C_DECLS for C++ build.
+
+2007-06-23  Stephen J. Turnbull  <stephen at xemacs.org>
+
 	* compiler.h: Try to use USED with more compilers.  Thanks, Jerry!
 
 2007-06-22  Aidan Kehoe  <kehoea at parhasard.net>



1.23      +4 -4      XEmacs/xemacs/src/sysdep.h

Index: sysdep.h
===================================================================
RCS file: /pack/xemacscvs/XEmacs/xemacs/src/sysdep.h,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -p -r1.22 -r1.23
--- sysdep.h	2004/02/25 20:05:33	1.22
+++ sysdep.h	2007/06/22 17:26:22	1.23
@@ -26,10 +26,6 @@ Boston, MA 02111-1307, USA.  */
 
 #include <setjmp.h>
 
-#ifndef WIN32_NATIVE
-extern char **environ;
-#endif
-
 #ifdef PDUMP
 int pdump_read_file (char **pdump_start_pos, size_t *pdump_length);
 #endif
@@ -67,6 +63,10 @@ void request_sigio (void);
 void unrequest_sigio (void);
 
 BEGIN_C_DECLS
+
+#ifndef WIN32_NATIVE
+extern char **environ;
+#endif
 
 void stop_interrupts (void);
 void start_interrupts (void);





More information about the XEmacs-CVS mailing list