Mercurial > hg > xemacs-beta
changeset 4029:5bb998bf84bd
[xemacs-hg @ 2007-06-22 17:26:20 by stephent]
Fix C++ build per <87sl8j51tc.fsf@uwakimon.sk.tsukuba.ac.jp>
author | stephent |
---|---|
date | Fri, 22 Jun 2007 17:26:22 +0000 |
parents | f386b9b92417 |
children | 5bc9d592760f |
files | src/ChangeLog src/sysdep.h |
diffstat | 2 files changed, 8 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Fri Jun 22 17:15:37 2007 +0000 +++ b/src/ChangeLog Fri Jun 22 17:26:22 2007 +0000 @@ -1,3 +1,7 @@ +2007-06-23 Stephen J. Turnbull <stephen@xemacs.org> + + * sysdep.h (environ): Needs to be in C_DECLS for C++ build. + 2007-06-23 Stephen J. Turnbull <stephen@xemacs.org> * compiler.h: Try to use USED with more compilers. Thanks, Jerry!
--- a/src/sysdep.h Fri Jun 22 17:15:37 2007 +0000 +++ b/src/sysdep.h Fri Jun 22 17:26:22 2007 +0000 @@ -26,10 +26,6 @@ #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 @@ -68,6 +64,10 @@ BEGIN_C_DECLS +#ifndef WIN32_NATIVE +extern char **environ; +#endif + void stop_interrupts (void); void start_interrupts (void); MODULE_API void slow_down_interrupts (void);