Mercurial > hg > xemacs-beta
diff src/emacs.c @ 4973:3bf1b0f0c391
fix compile errors
-------------------- ChangeLog entries follow: --------------------
src/ChangeLog addition:
2010-02-04 Ben Wing <ben@xemacs.org>
* emacs.c (SHEBANG_EXE_PROGNAME_LENGTH):
* emacs.c (main_1):
Restore old definition of SHEBANG_EXE_PROGNAME_LENGTH; not possible
to ANSI-concatenate wide and narrow strings.
* print.c (write_msg_istring):
* print.c (write_msg_cistring):
* print.c (write_msg_ascstring):
Can't return a value in a void-declared function.
author | Ben Wing <ben@xemacs.org> |
---|---|
date | Thu, 04 Feb 2010 18:27:39 -0600 |
parents | cbe181529c34 |
children | 2bf7c51d7101 |
line wrap: on
line diff
--- a/src/emacs.c Thu Feb 04 05:58:40 2010 -0600 +++ b/src/emacs.c Thu Feb 04 18:27:39 2010 -0600 @@ -937,7 +937,7 @@ #define SHEBANG_PROGNAME_LENGTH \ (int)((sizeof (WEXTSTRING (SHEBANG_PROGNAME)) - sizeof (WEXTSTRING ("")))) #define SHEBANG_EXE_PROGNAME_LENGTH \ - (int)(sizeof (WEXTSTRING (SHEBANG_PROGNAME ".exe")) \ + (int)(sizeof (WEXTSTRING (SHEBANG_PROGNAME) WEXTSTRING (".exe")) \ - sizeof (WEXTSTRING (""))) {