Mercurial > hg > xemacs-beta
changeset 1257:4424541fa226
[xemacs-hg @ 2003-02-05 06:20:50 by ben]
windows compile problems
s/windowsnt.h: Windows has strupr(), strlwr(). Comment fixes.
text.h: Style fixes.
author | ben |
---|---|
date | Wed, 05 Feb 2003 06:20:54 +0000 |
parents | 4fa987ead654 |
children | 473e76fb6d95 |
files | src/ChangeLog src/s/windowsnt.h src/text.h |
diffstat | 3 files changed, 18 insertions(+), 8 deletions(-) [+] |
line wrap: on
line diff
--- a/src/ChangeLog Tue Feb 04 22:52:25 2003 +0000 +++ b/src/ChangeLog Wed Feb 05 06:20:54 2003 +0000 @@ -1,3 +1,13 @@ +2003-02-04 Ben Wing <ben@xemacs.org> + + * s/windowsnt.h: + * s/windowsnt.h (HAVE_STRLWR): + Windows has strupr(), strlwr(). Comment fixes. + +2003-02-04 Ben Wing <ben@xemacs.org> + + * text.h: Style fixes. + 2003-01-31 Stephen J. Turnbull <stephen@xemacs.org> * alloc.c (mark_object_maybe_checking_free): C macro syntax
--- a/src/s/windowsnt.h Tue Feb 04 22:52:25 2003 +0000 +++ b/src/s/windowsnt.h Wed Feb 05 06:20:54 2003 +0000 @@ -167,6 +167,8 @@ #define HAVE_RMDIR #define HAVE_SELECT #define HAVE_STRERROR +#define HAVE_STRLWR +#define HAVE_STRUPR #define HAVE_SOCKETS @@ -248,14 +250,12 @@ extern void __cdecl decl PRINTF_ARGS(str,idx) #endif /* MSVC 6.0 */ -/* MSVC warnings no-no crap. When adding one to this section, - 1. Think twice +/* MSVC warnings no-no crap. When adding one to this section, + 1. Think twice. 2. Insert textual description of the warning. - 3. Think twice. Undo still works */ + 3. Think again. Undo still works. */ #if (_MSC_VER >= 800) -/* 'expression' : signed/unsigned mismatch */ -/* #pragma warning ( disable : 4018 ) */ /* unnamed type definition in parentheses (Martin added a pedantically correct definition of ALIGNOF, which generates temporary anonymous structures, and MSVC complains) */
--- a/src/text.h Tue Feb 04 22:52:25 2003 +0000 +++ b/src/text.h Wed Feb 05 06:20:54 2003 +0000 @@ -36,13 +36,13 @@ #ifdef HAVE_WCHAR_H #include <wchar.h> #else -size_t wcslen(const wchar_t *); +size_t wcslen (const wchar_t *); #endif #ifndef HAVE_STRLWR -char *strlwr(char *); +char *strlwr (char *); #endif #ifndef HAVE_STRUPR -char *strupr(char *); +char *strupr (char *); #endif /* ---------------------------------------------------------------------- */