comparison src/s/windowsnt.h @ 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 184461bc8de4
children 543769b89fed
comparison
equal deleted inserted replaced
1256:4fa987ead654 1257:4424541fa226
165 #define HAVE_MKTIME 165 #define HAVE_MKTIME
166 #define HAVE_RENAME 166 #define HAVE_RENAME
167 #define HAVE_RMDIR 167 #define HAVE_RMDIR
168 #define HAVE_SELECT 168 #define HAVE_SELECT
169 #define HAVE_STRERROR 169 #define HAVE_STRERROR
170 #define HAVE_STRLWR
171 #define HAVE_STRUPR
170 172
171 #define HAVE_SOCKETS 173 #define HAVE_SOCKETS
172 174
173 #ifdef DEBUG_XEMACS 175 #ifdef DEBUG_XEMACS
174 #define USE_ASSERTIONS 176 #define USE_ASSERTIONS
246 #else 248 #else
247 #define DECLARE_DOESNT_RETURN_GCC_ATTRIBUTE_SYNTAX_SUCKS(decl,str,idx) \ 249 #define DECLARE_DOESNT_RETURN_GCC_ATTRIBUTE_SYNTAX_SUCKS(decl,str,idx) \
248 extern void __cdecl decl PRINTF_ARGS(str,idx) 250 extern void __cdecl decl PRINTF_ARGS(str,idx)
249 #endif /* MSVC 6.0 */ 251 #endif /* MSVC 6.0 */
250 252
251 /* MSVC warnings no-no crap. When adding one to this section, 253 /* MSVC warnings no-no crap. When adding one to this section,
252 1. Think twice 254 1. Think twice.
253 2. Insert textual description of the warning. 255 2. Insert textual description of the warning.
254 3. Think twice. Undo still works */ 256 3. Think again. Undo still works. */
255 #if (_MSC_VER >= 800) 257 #if (_MSC_VER >= 800)
256 258
257 /* 'expression' : signed/unsigned mismatch */
258 /* #pragma warning ( disable : 4018 ) */
259 /* unnamed type definition in parentheses 259 /* unnamed type definition in parentheses
260 (Martin added a pedantically correct definition of ALIGNOF, which 260 (Martin added a pedantically correct definition of ALIGNOF, which
261 generates temporary anonymous structures, and MSVC complains) */ 261 generates temporary anonymous structures, and MSVC complains) */
262 #pragma warning ( disable : 4116 ) 262 #pragma warning ( disable : 4116 )
263 263