diff src/s/windowsnt.h @ 1743:543769b89fed

[xemacs-hg @ 2003-10-14 05:02:57 by james] New compiler.h contains compiler-specific defines. Use it everywhere.
author james
date Tue, 14 Oct 2003 05:03:13 +0000
parents 4424541fa226
children 61855263cb07
line wrap: on
line diff
--- a/src/s/windowsnt.h	Mon Oct 13 18:53:24 2003 +0000
+++ b/src/s/windowsnt.h	Tue Oct 14 05:03:13 2003 +0000
@@ -242,12 +242,7 @@
 /* MSVC 6.0 has a mechanism to declare functions which never return */
 #if (_MSC_VER >= 1200)
 #define DOESNT_RETURN __declspec(noreturn) void
-#define DECLARE_DOESNT_RETURN(decl) __declspec(noreturn) extern void decl
-#define DECLARE_DOESNT_RETURN_GCC_ATTRIBUTE_SYNTAX_SUCKS(decl,str,idx) \
-          __declspec(noreturn) extern void __cdecl decl PRINTF_ARGS(str,idx)
-#else
-#define DECLARE_DOESNT_RETURN_GCC_ATTRIBUTE_SYNTAX_SUCKS(decl,str,idx) \
-          extern void __cdecl decl PRINTF_ARGS(str,idx)
+#define DECLARE_DOESNT_RETURN(decl) __declspec(noreturn) extern void XCDECL decl
 #endif /* MSVC 6.0 */
 
 /* MSVC warnings no-no crap.  When adding one to this section,