Mercurial > hg > xemacs-beta
comparison src/s/windowsnt.h @ 400:a86b2b5e0111 r21-2-30
Import from CVS: tag r21-2-30
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:14:34 +0200 |
parents | 74fd4e045ea6 |
children | 2f8bb876ab1d |
comparison
equal
deleted
inserted
replaced
399:376370fb5946 | 400:a86b2b5e0111 |
---|---|
302 /* Ensure the NT 4 mouse definitions in winuser.h are available */ | 302 /* Ensure the NT 4 mouse definitions in winuser.h are available */ |
303 #ifndef _WIN32_WINNT | 303 #ifndef _WIN32_WINNT |
304 #define _WIN32_WINNT 0x0400 | 304 #define _WIN32_WINNT 0x0400 |
305 #endif | 305 #endif |
306 #endif | 306 #endif |
307 | |
308 /* MSVC 6.0 has a mechanism to declare functions which never return */ | |
309 #if (_MSC_VER >= 1200) | |
310 #define DOESNT_RETURN __declspec(noreturn) void | |
311 #define DECLARE_DOESNT_RETURN(decl) __declspec(noreturn) extern void decl | |
312 #define DECLARE_DOESNT_RETURN_GCC_ATTRIBUTE_SYNTAX_SUCKS(decl,str,idx) \ | |
313 __declspec(noreturn) extern void decl PRINTF_ARGS(str,idx) | |
314 #endif /* MSVC 6.0 */ |